-
AuthorPosts
-
September 23, 2015 at 6:15 pm #508035
How can I make all my archive pages look exactly like my single page post layout? I want archive pages to use the same sidebar that’s selected on the single post pages and to use the same selections (including meta elements) from the Enfold theme options blog layout for the single post layout.
September 23, 2015 at 6:29 pm #508042I also want category pages to have the same settings as the single page post.
Also, how do I keep the featured image from showing up on the main blog page? I selected Don’t display image on single post on each post. I just want the full content to appear.
September 24, 2015 at 5:21 am #508153Hi Larry,
This is an issue for many of us, and frankly, it’s the worst part of using Enfold. Many of my clients are asking me to develop the same feature, but I’ve had no luck with the existing hooks. IMHO Kriesi needs to make a Blog Meta shortcode, or post a workaround using the existing Code Block shortcode. Their standard answer to date has been “just use the default editor” – which obviously is no solution at all. I am getting fed up with Kriesi digging in his heels on this issue. it just needs to be an option before the Advanced Layout Editor is suitable for Blog Posts.
September 24, 2015 at 7:02 am #508176Hey!
I am sorry you feeling that way.
I have tagged kriesi on the Ticket, so he can give it a look him self also.Will be happy to assist with any more quesitons in the meantime
Cheers!
BasilisSeptember 28, 2015 at 8:59 am #509866I agree. In a further extend, Archive and single post pages should be able to get a custom layout with custom navigation.
I give you an example of a very annoying issue with Enfold:One can build a custom news page with a full width submenu and let’s say image header. When I click on a news item I lose all that navigation (I can’t place my full width submenu in a single post page), I lose the header (I can’t place a custom header) and thereby suddenly I am on a single post page with only the main menu visible and losing my site navigation. Same if a user clicks on a category, date or tag I lose all my handbuild navigation and layout and I land on the archive pages where I can’t create the same layout as where the user came from.
This the most disturbing issue with enfold as there is no consistency.I think this can be solved by allowing us to build an archive page and single post page using the layout editor. Or somehow add 2 elements in the layout editor which contains “single post” and “post archive”.
Enfold is great because we can build complex navigations, but somehow it is not very userfriendly now as one can get completely lost by landing on a single post or archive page.
Thanks for considering a solution for this. It will only make Enfold the most powerful template ever ;)
S
September 28, 2015 at 9:29 am #509878Or…we should get the ability to load a single post /archive in the page structure we build. Let’s say I have my blog overview posts in a 2/3th column, the single post or archive should also load in that column so it stays within the context.
Not sure if you’re following me, but happy to discuss it further.S
September 29, 2015 at 4:30 pm #510830Hey!
What your asking is very difficult to do actually and not the “WordPress way”. I would create a feature request for this, https://kriesi.at/support/enfold-feature-requests/, as it’s not something we will be able to cook up for you in the forums.
I did something similar as I wanted to have a color section on each of my archive / category pages so I had to create a custom archive.php template for it. But everyone is going to want to do something different. Perhaps in the future we will be able to have a “virtual page” for archives where you can use the layout builder on but that is something that would need to be asked for in feature requests.
Best regards,
ElliottSeptember 30, 2015 at 7:12 pm #511774I’m sorry,
is it possible simply to make archives and tags pages to be shown like in “grid layout blog style” while using a custom blog layout page build with the advanced layout editor?
A piece of code to add somwhere?
Because, personnaly, I don’t absolutly want to seeing my archives showing the totality of posts content in continues infinity line …September 30, 2015 at 7:49 pm #511790Actually, I’ve just found the solution.
Using a custom blog layout page build with the advanced layout editor YOU CAN show your archives and tags pages in “grid layout” style. Following this “Change archive (category/tag) blog style” tutorial, replace it by this code in your child theme function.php:Categories
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;}
Tags
add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2); function avia_change_tag_blog_layout($layout, $context){ if($context == 'tag') $layout = 'blog-grid'; return $layout;}
That’s it !
Now I don’t understand why all Kriesi stuff’s telling one would need to modify the archive.php file or even hire a freelancer..?
October 1, 2015 at 7:26 pm #512373Hi!
@Anton, I think your misunderstanding. If all your wanting to do is make the archives display in the grid layout then all you have to do is select the grid style in the Dashboard > Enfold > Blog Layout style settings. As said before the blog style applies to the archives as well.
Cheers!
ElliottOctober 4, 2015 at 5:26 pm #513366as I mentioned this grid-code is useful using “the advanced layout editor” style in Enfold child theme options > Blog Layout. As the blog style doesn’t allow to show a custom blog layout that on may want to have.
Cheers,
October 4, 2015 at 10:31 pm #513409Hey!
Please do let us know if we can help with anything else.
We do appreciate sharing those snippets to the forum!Regards,
Basilis -
AuthorPosts
- The topic ‘Archive page layout changes’ is closed to new replies.