Archived topic
Hook into WP Show Posts
3 replies · Started by Khanh Nguyen on July 28, 2019
Hi,
I want to hook some place in WP Show Posts (like "After WP Show Post Title").
Could you please help me?
Thank you.
Hi there,
you would need to raise questions for WP Show Posts on its support forum, but in this topic Tom provides the available hooks:
https://wpshowposts.com/support/topic/custom-fields/#post-220
Hi,
I thought I should create a topic in this forum because I use Element hook to do it.
I tried some hook places:
wpsp_before_wrapper
wpsp_before_header
wpsp_before_title
wpsp_after_title
wpsp_before_content
wpsp_after_content
wpsp_after_wrapper
But It doesn't show any thing. I took a look into source code (Ctrl+U) of my page but I didn't see my hook.
If I use something like:
after_entry_title
after_entry_header
...
It's ok with those hook places.
What are you trying to add to the WPSP hook? The list provided in that link all work - need to make sure the display rules are set correctly to the pages the WPSP list is displayed on.