Home Forums Support Blog Addon

  • This topic has 18 replies, 3 voices, and was last updated 9 years ago by Tom.
Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #116731
    Xavi Colomer

    Hi Tom,

    After GP update to 1.2.9.8, The Blog Addon > Blog content > option to show excerpt in home page, with Masonry enable or disable, doesen’t work.

    thank’s

    #116777
    Tom
    Lead Developer
    Lead Developer

    This is the GeneratePress (theme) update to 1.2.9.8, or the GP Premium (plugin) update to 1.2.62?

    Can you check to see if your posts are using the standard post format?

    #116787
    Xavi Colomer

    Tom,
    – is the GeneratePress (theme) update to 1.2.9.8
    – Yes the posts are using standar format

    Before the upgrade the excerpts works fine

    http://bloc.edubcn.cat/

    thank’s

    #116788
    Tom
    Lead Developer
    Lead Developer

    Are you using the “More tag” in your posts?

    There’s a couple reasons GP will not show excerpts:

    1. Post format is set to something other than Standard
    2. More tag is being used

    #116789
    Xavi Colomer

    Yes More tag is being used,
    but Before the upgrade the excerpts (with “more tag” in content area) works fine.

    #116790
    Tom
    Lead Developer
    Lead Developer

    Ah, this actually changed in the 1.2.9 update.

    This gives users the options to show excerpts, but use the more tag for specific posts. This gives more flexibility to users.

    To disable this, you can add this filter:

    add_filter('generate_more_tag','generate_disable_more_tag');
    function generate_disable_more_tag()
    {
          return false;
    }

    Adding PHP: http://generatepress.com/knowledgebase/adding-php-functions/

    #116798
    Xavi Colomer

    OK, thank’s

    #117588
    Xavi Colomer

    Hi Tom,
    Another question about this,

    In some case, using the “more” tag in the editor, I don’t want to print the “read more…” text in the front end.

    if I leave the “read more” text field empty, it would be interesting not print that field in the front end.
    Now i have a blank gap (read-more-container) between the automatic excerpt and the “entry-meta”.

    It will be possible with a function? (…if …empty…then …false)

    thank’s

    #117645
    Tom
    Lead Developer
    Lead Developer

    Interesting – good idea. If the read more area is blank, the entire function shouldn’t be printed.

    On it πŸ™‚

    #117891
    Xavi Colomer

    Hi Tom,

    Another question, after upgrade:
    The masonry enable, with custom post type, doesen’t work fine.

    Example1: A list of custom post type

    http://dbloop.com/projectes/enriquetafilms/blog/videos/video-clips/

    Example2: First item is a post post-type, the others are custom post type

    http://dbloop.com/projectes/enriquetafilms/blog/category/external-videos/

    Thank’s

    #117982
    Tom
    Lead Developer
    Lead Developer

    Is masonry supposed to be enabled in example 1? Or are we talking about something being off in example 2?

    #117996
    Xavi Colomer

    Hi Tom,

    Yes masonry is enabled in both examples (1 and 2)

    – in example 1: List of custom category “Video clips”. all posts are custom post type (“vimeo-video” from CodeFlavors Vimeo Video Post Lite Plugin)

    In this case the div with class=”masonry-container masonry js-masonry” is missed.

    – in example 2: List of category “External Videos”. the first post is standar post, and the rest are custom post type ( “class= external-videos type-external-videos” from External Videos plugin). Seems that the class “masonry-post” is missed.

    If I don’t print the first post (standar post) it works like example 1.

    thanks

    #118111
    Tom
    Lead Developer
    Lead Developer

    Looking into this – will update πŸ™‚

    #118115
    Xavi Colomer

    Thank’s Tom!

    #134413
    Tom
    Lead Developer
    Lead Developer

    Sorry for not getting back to you on this sooner!

    Another user had a similar issue which they resolved: https://generatepress.com/forums/topic/masonry-issues-on-custom-page-template/#post-132807

    Let me know if this helps or not πŸ™‚

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