-
AuthorPosts
-
January 18, 2017 at 1:24 pm #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
January 18, 2017 at 2:16 pm #735306Hey Maria!
Please refer to this post – http://kriesi.at/documentation/enfold/change-archive-categorytag-blog-style/
Regards,
YigitJanuary 18, 2017 at 2:26 pm #735313Hi 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)
January 18, 2017 at 2:35 pm #735317Hey 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,
YigitJanuary 20, 2017 at 10:39 am #736330Ok, it works!!!
Thank you so much Yigit :-)
January 20, 2017 at 1:41 pm #736448Hi,
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 -
AuthorPosts
- The topic ‘Changing layout tag page’ is closed to new replies.