Viewing 7 results - 121 through 127 (of 127 total)
  • Author
    Search Results
  • #263875

    Hey crschulz!

    open up enfold/tag.php and replace:

    
    <main class='content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'post'));?>>
    

    with

    
    <main class='content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'post'));?>>
    
                        <div class="category-term-description">
                            <?php echo term_description(); ?>
                        </div>
    
    

    I’ll ask Kriesi to include this code with the next update.

    Cheers!
    Peter

    #215445

    Thanks for the efficient and uber-fast answer, Ismael!
    I also changed the value on line 61 of tag.php, everything works great.

    Regarding question n°2, is there a way to display the author post & search as a 2-col grid as well?

    #197899

    Hey sgrobert!

    The archive tag page is generated using the tag.php file and the search page use the includes > loop-search.php file. If you want a custom sidebar for the tag page. Edit tag.php, find this code:

    //get the sidebar
                    $avia_config['currently_viewing'] = 'blog';
                    get_sidebar()

    Replace it with:

    //get the sidebar
                    $avia_config['currently_viewing'] = 'archive';
                    get_sidebar()

    Edit sidebar.php, find this code:

    // forum pages sidebars
                if ($avia_config['currently_viewing'] == 'forum' && dynamic_sidebar('Forum') ) : $default_sidebar = false; endif;

    Below add this code:

    // archive pages sidebars
                if ($avia_config['currently_viewing'] == 'archive' && dynamic_sidebar('Archive') ) : $default_sidebar = false; endif;

    Edit includes > admin > register-widget-area.php, find this code:

    foreach ($sidebars_to_show as $sidebar)
    		{
    			register_sidebar(array(
    				'name' => 'Sidebar Pages',
    				'before_widget' => '<div id="%1$s" class="widget clearfix %2$s">', 
    			'after_widget' => '<span class="seperator extralight-border"></span></div>', 
    			'before_title' => '<h3 class="widgettitle">', 
    			'after_title' => '</h3>', 
    			));
    		}

    Below, add this Archive widget area:

    foreach ($sidebars_to_show as $sidebar)
    		{
    			register_sidebar(array(
    				'name' => 'Archive',
    				'before_widget' => '<div id="%1$s" class="widget clearfix %2$s">', 
    			'after_widget' => '<span class="seperator extralight-border"></span></div>', 
    			'before_title' => '<h3 class="widgettitle">', 
    			'after_title' => '</h3>', 
    			));
    		}

    You now add widgets on Archive widget area. Remove every widgets on Displayed Everywhere widget area. You can do the same on search.php file if you want a custom sidebar on search results page.

    Cheers!
    Ismael

    #181050

    In reply to: global element

    Hi!

    If you want to display the map on all pages insert the shortcode in header.php. template-builder.php is only a template file and will not load on every page. If you can’t insert it in header.php you need to add the shortcode to all templates, namely index.php, page.php, single.php, archive.php, search.php, single-portfolio.php, author.php and tag.php

    Regards,
    Peter

    #180503

    Hey EvelineB!

    You can edit archive.php and tag.php, find this code:

    //get the sidebar
    				$avia_config['currently_viewing'] = 'blog';
    				get_sidebar();

    Replace it with this for archive page:

    //get the sidebar
    				$avia_config['currently_viewing'] = 'archive';
    				get_sidebar();

    And replace it with this code for tag archive page:

    //get the sidebar
    				$avia_config['currently_viewing'] = 'tag';
    				get_sidebar();

    Edit sidebar.php, find this code:

    // forum pages sidebars
                if ($avia_config['currently_viewing'] == 'forum' && dynamic_sidebar('Forum') ) : $default_sidebar = false; endif;

    Below, add this:

    // archive pages sidebars
                if ($avia_config['currently_viewing'] == 'archive' && dynamic_sidebar('Archive Pages') ) : $default_sidebar = false; endif;
    			
    			// tag pages sidebars
                if ($avia_config['currently_viewing'] == 'tag' && dynamic_sidebar('Tag Pages') ) : $default_sidebar = false; endif;

    Edit includes > admin > register-widget-area.php, find this code:

    foreach ($sidebars_to_show as $sidebar)
    		{
    			register_sidebar(array(
    				'name' => 'Single Product Pages',
    				'before_widget' => '<div id="%1$s" class="widget clearfix %2$s">', 
    			'after_widget' => '<span class="seperator extralight-border"></span></div>', 
    			'before_title' => '<h3 class="widgettitle">', 
    			'after_title' => '</h3>', 
    			));
    		}

    Below, register the Tag and Archive widget area.

    
    		foreach ($sidebars_to_show as $sidebar)
    		{
    			register_sidebar(array(
    				'name' => 'Archive Pages',
    				'before_widget' => '<div id="%1$s" class="widget clearfix %2$s">', 
    			'after_widget' => '<span class="seperator extralight-border"></span></div>', 
    			'before_title' => '<h3 class="widgettitle">', 
    			'after_title' => '</h3>', 
    			));
    		}
    		
    		foreach ($sidebars_to_show as $sidebar)
    		{
    			register_sidebar(array(
    				'name' => 'Tag Pages',
    				'before_widget' => '<div id="%1$s" class="widget clearfix %2$s">', 
    			'after_widget' => '<span class="seperator extralight-border"></span></div>', 
    			'before_title' => '<h3 class="widgettitle">', 
    			'after_title' => '</h3>', 
    			));
    		}

    You can now add different widgets for Tag and Archive page.

    Regards,
    Ismael

    #162811

    Topic: Portfolio grid by tags

    in forum Enfold
    Denis
    Participant

    Hello !
    Special thanks to Kriesi for tag.php in Enfold 2.1 !
    Now tags in portfolio works fine !

    but still have one question about tags :
    is it possible to make Portfolio grid by Tags as additional page to Portfolio grid by Categories ?

    thank you

    • This topic was modified 12 years, 4 months ago by Denis.
    #138551

    Hey!

    This will be fixed in the next update. We had to create a special tag.php template which takes care of the different post types.

    Best regards,

    Peter

Viewing 7 results - 121 through 127 (of 127 total)