-
AuthorPosts
-
December 29, 2015 at 8:40 pm #558222
I would like the full text of my blog posts to be show in the grid layout, not an excerpt. The full text includes links and styling that I would like to have on the grid layout. Here’s a link to my blog page: http://www.abidinghope.org/watch/sermons-test-2/.
I know I can choose to use the “advanced layout editor” layout in the “Blog Layout” section of the theme options panel, but that styling doesn’t extend to the archive pages (categories, tags, etc). So maybe an alternative answer to my problem could be how to apply the “advance layout editor” style to the archive pages.
Thanks in advance for any help.
- This topic was modified 8 years, 12 months ago by steadyradiance.
December 29, 2015 at 10:06 pm #558245Hi jwyderko!
Will something like that work out for your case:
https://kriesi.at/support/topic/archive-page-layout-changes/let us know , if it is not as might have understood you wrong.
Cheers!
BasilisDecember 29, 2015 at 11:59 pm #558287Hi Basilis,
Thanks for the quick reply. I tried adding the “tag” specific code to my functions.php file, but it didn’t seem to have any effect. I’m not sure it’s what I’m looking for in any case. Hopefully I can elaborate a little bit and see if I just did something wrong, or if it’s not the direction I need to go.In the Enfold Theme Options under “Blog Layout”, if I select “Use the advance layout editor…” it makes my site look like this: http://www.abidinghope.org/watch/sermons-test-2/ (which is what I want). My question is, how do I get the archive/tag/category pages to follow the same layout? (Currently they look like this: http://www.abidinghope.org/tag/experience-this/)
I’ve tried using the “Grid Layout”, which does change the archive page, but not the tag/category pages. Also, it makes my blog page look like this: http://www.abidinghope.org/watch/sermons-test/. I can get the images to appear by adding a Featured Image for each post, but the text for each post is just an excerpt so all the styling is stripped.
Clear as mud? Let me know if it still doesn’t make sense…
January 3, 2016 at 2:12 am #558891Hey!
Those suggestions won’t work because you’re using a plugin to show the grid, so you’d need to edit tag.php and archive.php and manually place the plugin’s shortcode or PHP function there.
Unfortunately as this involves a third-party plugin implementation it would be beyond our support scope. You can request a customisation quote from a provider here
Regards,
JosueJanuary 5, 2016 at 5:47 pm #560053Hi Josue,
Thanks for your response. The page http://www.abidinghope.org/watch/sermons-test/ isn’t using the plugin. Is it possible to get the “Grid Layout” to show the full content instead of the excerpt on this page?
January 5, 2016 at 7:33 pm #560102Hi!
Sure, use this code in your theme / child theme functions.php:
function avf_post_slider_entry_excerpt_func($excerpt, $prepare_excerpt, $permalink, $entry ) { return $entry->post_content; } add_filter('avf_post_slider_entry_excerpt', 'avf_post_slider_entry_excerpt_func', 10, 4);
Best regards,
JosueJanuary 5, 2016 at 11:21 pm #560169That worked great! Thank you.
January 6, 2016 at 12:25 am #560181Hey!
Glad we could help you resolve this :)
Cheers!
VinayApril 24, 2016 at 4:45 pm #620824Hi guys,
if you want to run shortcodes through excerpt, just add this filter:
add_filter(‘avf_post_slider_entry_excerpt’, ‘do_shortcode’);
I was researching this tip for http://enfold.space :)
April 25, 2016 at 6:45 am #621014 -
AuthorPosts
- You must be logged in to reply to this topic.