Site logo

Archived topic

Dispatch Theme WP Show Post Issues

11 replies · Started by Chris on January 20, 2023

Viewing posts 1–12 of 12

On the WP Show Post Standard (top of the home page) it is showing an extra article. It should only have 4 but is showing 5 which messes with the formatting.

For the other 2 WP Show Posts on the home page, is their a guide to show how to set up which articles to show, so that I can have them display different content? Also, is there a way to exclude the first sentence of the article from the excerpt? I include the title there and it causes it to mot look right.

Finally, if you look at the sidebar widget that shows categories I want it to show all categories but it only shows 7 of the 8. I can't get it to add the 8th (Special Occasions).

Thank you!

Chris

Hi there,

best place to start is with demo content, it includes some posts that explain how to work with Dispatch.
Start here:

https://gpsites.co/dispatch/styling/

Then for specific info on working with WP Show Posts:

https://gpsites.co/dispatch/using-wp-show-posts/

The Magazine grid uses the list title: Header in the WP Show posts admin.
Edit that, and check the Posts per Page is set to 4

For the other lists on the page, the doc above shows where they are being used, and you can edit those lists and set the Taxonomy to what you require.

Let me know how you get on.

Also, is there a way to exclude the first sentence of the article from the excerpt? I include the title there and it causes it to mot look right.

I hope it's ok if I chime in as I've run into similar issues & have a suggestion. In WP you can simply copy and paste the desired text (minus the title) into the Excerpt box found in the post editor. It will then appear as you want in the WP Show Posts results.

This can be done for pages as well although it's not enabled by default but is easy to add:

// Enable excerpt boxes for pages
add_post_type_support( 'page', 'excerpt' );

As I'm using Pages for parent pages now this became very handy. Best regards.

Thank you! This is very helpful. It also highlighted my typo, which is embarrassing. Lol

When I increased the Header WP Show Post to 5 posts its showed 6. So I lowered it to 3 and it is now showing the number I want and looks good. But something is still wrong based on that.

Do you have any functions or plugins that change post behaviour in any way ?

If I may are there any how-to links like the excellent ones you've shared for Dispatch, for NEWSROOM and INFO?

I haven’t added any plugins. I only added Adsense.

Hi Chris,

I can't seem to replicate the issue with regard to 6 posts showing when it's set to 5 from my end on dispatch. It could be another function or plugin you have that's causing this. Since you don't have any other plugins, do you have custom functions?

Hi Manuel,

I responded to the other topic you started.

I think I identified the issue. I had made one post sticky, and that was adding an extra post. When I removed the sticky post, the WP Show Post went pack to the correct numbers.

I see. Glad you found the cause!

This archived topic is closed to new replies.