Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #735283

    Hi everyone,

    I’ve read other topics on how to change layouts of categories and tags although I think it should be automatic.

    I chose a personalized layout for my blog but layout of categories and tags is different from it.

    To change category layout I put this code:

    add_filter(‘avf_blog_style’,’avia_change_category_blog_layout’, 10, 2);
    function avia_change_category_blog_layout($layout, $context){
    if($context == ‘archive’) $layout = ‘blog-grid’;
    return $layout;
    }

    but what if I want to change tag page?

    Do you think to solve this issue easily (maybe without all this code) in the future?

    Thank you.

    Best regards,

    Maria

    #735306

    Hey Maria!

    Please refer to this post – http://kriesi.at/documentation/enfold/change-archive-categorytag-blog-style/

    Regards,
    Yigit

    #735313

    Hi Yigit, thanks for your reply.

    After I added the category code into the file functions something changed in my website!!!! Something crashed. I don’t know if it is linked to the code.

    Clicking some pages of my websites like categories, tags or posts, page is full of weird symbols and the content disappear. If I refresh the page it appears again. The only thing I did was to put the code I found in the support for displaying category layout as grid (now I have removed it but still have this issue sometimes).

    What does it means?? Here is a screenshot: http://imgur.com/a/c7otM

    Please help me Yigit! (I had opened a thread too)

    #735317

    Hey Maria,

    I replied to your thread. Let us continue there until we solve the issue, then we can finish this one, shall we?
    This thread will be on hold until you reply, you can simply reply to re-open it.

    Best regards,
    Yigit

    #736330

    Ok, it works!!!

    Thank you so much Yigit :-)

    #736448

    Hi,

    You are welcome Maria! Always happy to help :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Cheers!
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Changing layout tag page’ is closed to new replies.