Before you ask please READ THIS

Sub categorie of works

edited March 2014 in Beach Please Posts: 0
Hello, is it possible to have more than one works page ?

I wish i could choose in sub menu categories, and show only one categorie of work ? or the work page contain always all the works...

I hope you could understand me...
Post edited by [Deleted User] on

Comments

  • Maybe you mean Genres. Take a look to the submenu in my website: http://www.manu-garcia.com
  • Yep, but ideally i wish when you click on Portfolio, you don't have all works appear but only categories, and when you click on one it's open the works page off all works in the category, but maybe it's too complicate to do...
  • AirAir
    Posts: 10,970
    Hello

    Please check http://apollo13.eu/docs/beach/#!/adding_works_adding_multiple_works_list_and_genres

    You assign each genre to menu thanks to this, and also you can have page with all genres like now - Works list page.

    With regards.
  • edited March 2014 Posts: 0
    Yep it's work but i loose my background, and the filter, there is a solution?

    thanks again :)
    Post edited by [Deleted User] on
  • AirAir
    Posts: 10,970
    Filter is only on works list, cause there are many categories. On one category page there is no need for it:-)

    Background- only custom CSS by targeting classes in body element.

    With regards.
  • edited March 2014 Posts: 0
    yep but with the way i use it, it is useful to have one filter on these pages there is a solution?

    I didn't understand your answer...
    Post edited by [Deleted User] on
  • AirAir
    edited March 2014 Posts: 10,970
    But what you want to filter then? It is only filter for categories. If you turn it on back you will see one item there and it will have no function of original. Or am I wrong?
    Maybe you use multi categories for each item?

    With regards.
    Post edited by Air on
  • It's hard to explain, but go on my site and u will understand.

    On my creations page, i will have two images with a link to the "genre page" (for now it's a link to the work page) but in my genre jewellery i have some categories...
  • AirAir
    Posts: 10,970
    I don't need it :-)

    Go to works-list.php and line ~58
    change:
    if($genre_template !== true){
                //prepare filter
                $terms = get_terms(CPT_WORK_TAXONOMY, 'hide_empty=1');
    
                if( count( $terms ) ):
                    echo '<ul id="genre-filter" >';
    
                    echo '<li class="label">'.__fe( 'Filter' ).'</li>';
                    echo '<li class="selected" data-filter="__all"><a href="' . a13_current_url() . '">' . __fe( 'All' ) . '</a></li>';
                    foreach($terms as $term) {
                        echo '<li data-filter="'.$term->slug.'"><a href="'.esc_url(get_term_link($term)).'">' . $term->name . '</a></li>';
                    }
    
                    echo '</ul>';
                endif;
            }
    to
    
                //prepare filter
                $terms = get_terms(CPT_WORK_TAXONOMY, 'hide_empty=1');
    
                if( count( $terms ) ):
                    echo '<ul id="genre-filter" >';
    
                    echo '<li class="label">'.__fe( 'Filter' ).'</li>';
                    echo '<li class="selected" data-filter="__all"><a href="' . a13_current_url() . '">' . __fe( 'All' ) . '</a></li>';
                    foreach($terms as $term) {
                        echo '<li data-filter="'.$term->slug.'"><a href="'.esc_url(get_term_link($term)).'">' . $term->name . '</a></li>';
                    }
    
                    echo '</ul>';
                endif;
            
    With regards.
  • edited April 2014 Posts: 0
    ok that worked thanks for the filter, but about the background i have try
    .works-list-page #mid{
    background-image: url("nom_de_l_image.png");
    }
    But it doesn't look like in another page...
    Post edited by Air on
  • AirAir
    Posts: 10,970
    Cause this is not where you background is set :-)
    Try this
    .works-list-page #bg-image{
    background-image: url("nom_de_l_image.png") !important;
    }
    With regards.
Sign In or Register to comment.