Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.

    #558245

    Hi 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!
    Basilis

    #558287

    Hi 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…

    #558891

    Hey!

    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,
    Josue

    #560053

    Hi 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?

    #560102

    Hi!

    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,
    Josue

    #560169

    That worked great! Thank you.

    #560181

    Hey!

    Glad we could help you resolve this :)

    Cheers!
    Vinay

    #620824

    Hi 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 :)

    #621014

    Hi,

    Thanks for sharing, much appreciated :-)

    Regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.