Archived topic
problem with Dispatch theme
5 replies · Started by Jerome on May 16, 2020
Hello,
i'm using the dispatch theme.
I don't understand how to delete some code : WPSP Open Wrapper & WPSP Close Wrapper
(These two hooks create a Div wrap around the Enter Header, Summary and Entry Footer of the WP Show Posts. This is used to create the custom styling you see here.)
At the end of my articles appears the following lines,
`
1, 'include' => $prevPost->ID ); $prevPost = get_posts($args); foreach ($prevPost as $post) { setup_postdata($post); ? >
1, 'include' => $nextPost->ID ); $nextPost = get_posts($args); foreach ($nextPost as $post) { setup_postdata($post); ?>
See in this link :
https://imagescreatives.com/photographie-de-voyage-avec-philippe-body-interview/
I don't know how to erase it.
Otherwise, I don't find in Hook section in my dashboard.
Many thanks
Jérôme
Hi there,
1.
Open Wrapper & WPSP Close Wrapper
(These two hooks create a Div wrap around the Enter Header, Summary and Entry Footer of the WP Show Posts. This is used to create the custom styling you see here.)
- Why would you want to remove this? It is required for the Dispatch site to work correctly?
2. This code:
1, ‘include’ => $prevPost->ID ); $prevPost = get_posts($args); foreach ($prevPost as $post) { setup_postdata($post); ? >
1, ‘include’ => $nextPost->ID ); $nextPost = get_posts($args); foreach ($nextPost as $post) { setup_postdata($post); ?>
You can go to Appearance > Elements and delete the Custom Post Navigation Hook.
David,
I want to erase what appears at the bottom of my articles, like here :
https://imagescreatives.com/photographie-de-voyage-avec-philippe-body-interview/
Many thanks
Jérôme
Are you talking about this here?
https://www.screencast.com/t/jN0AEN6p
If so #2 in David's reply explains how to do that.
Many Thanks !
No problem :)