Site logo

Archived topic

Blog Addon

18 replies · Started by Xavi Colomer on June 26, 2015

Viewing posts 1–15 of 19

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

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?

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

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

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

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/

OK, thank's

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

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

On it :)

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

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

Looking into this - will update :)

Thank's Tom!

This archived topic is closed to new replies.