Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1201936

    Hi,
    If possible, I want layout category pages (anda tags) link blog page https://www.anifeurowellness.it/blog/.
    It’s possible,
    Thanks.
    Giuseppe

    #1202128

    Hey gbarbagallo,

    Do you have more context? Perhaps a screenshot of what you’re looking to accomplish?

    Best regards,
    Jordan Shannon

    #1202254
    This reply has been marked as private.
    #1203145

    Hi gbarbagallo,

    Here is the code you can put in your funtions.php

    
    add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); 
    function avia_change_category_blog_layout($layout, $context){
    if($context == 'archive') $layout = 'single-big';
    return $layout;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1204338
    This reply has been marked as private.
    #1205473

    Hi,

    Thank you for the update.

    Try to use this snippet instead.

    /* Change Blog Archive Style  */
    function change_blog_archive_style() {	
    	global $avia_config;
    	if(!is_single()){ $avia_config['blog_content'] = "excerpt_read_more"; }
    }
    add_action('get_header', 'change_blog_archive_style');

    This should set the archive pages to display an excerpt instead of the full content.

    Best regards,
    Ismael

    #1205539
    This reply has been marked as private.
    #1205833

    Hi gbarbagallo,

    Please make sure you copied it right.

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1205838
    This reply has been marked as private.
    #1205877
    This reply has been marked as private.
    #1206744

    Hi,

    Sorry for the delay. Did you copy the code from your email? Please try to copy it directly from the forum to avoid conversion of symbols inside the code. Or post the WordPress and FTP account in the private and we’ll try to insert the code in the functions.php file.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Layout category page’ is closed to new replies.