Site logo

Archived topic

problem with Dispatch theme

5 replies · Started by Jerome on May 16, 2020

Viewing posts 1–6 of 6

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.

Many Thanks !

No problem :)

This archived topic is closed to new replies.