- This topic has 18 replies, 3 voices, and was last updated 9 years ago by Tom.
-
AuthorPosts
-
June 26, 2015 at 3:17 am #116731Xavi 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
June 26, 2015 at 7:46 am #116777TomLead DeveloperLead DeveloperThis 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?
June 26, 2015 at 8:42 am #116787Xavi ColomerTom,
– is the GeneratePress (theme) update to 1.2.9.8
– Yes the posts are using standar formatBefore the upgrade the excerpts works fine
thank’s
June 26, 2015 at 8:43 am #116788TomLead DeveloperLead DeveloperAre 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 usedJune 26, 2015 at 8:51 am #116789Xavi ColomerYes More tag is being used,
but Before the upgrade the excerpts (with “more tag” in content area) works fine.June 26, 2015 at 8:53 am #116790TomLead DeveloperLead DeveloperAh, 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/
June 26, 2015 at 9:55 am #116798Xavi ColomerOK, thank’s
June 30, 2015 at 2:16 am #117588Xavi ColomerHi 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
June 30, 2015 at 9:09 am #117645TomLead DeveloperLead DeveloperInteresting – good idea. If the read more area is blank, the entire function shouldn’t be printed.
On it π
July 1, 2015 at 4:06 am #117891Xavi ColomerHi 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
July 1, 2015 at 8:22 am #117982TomLead DeveloperLead DeveloperIs masonry supposed to be enabled in example 1? Or are we talking about something being off in example 2?
July 1, 2015 at 8:41 am #117996Xavi ColomerHi 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
July 2, 2015 at 12:28 am #118111TomLead DeveloperLead DeveloperLooking into this – will update π
July 2, 2015 at 1:45 am #118115Xavi ColomerThank’s Tom!
September 4, 2015 at 12:39 pm #134413TomLead DeveloperLead DeveloperSorry 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 π
-
AuthorPosts
- You must be logged in to reply to this topic.