• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Show List of Posts in Same Category As Current Post

Both these code snippets enable you to display a list of posts which are related to the same category as the current post.

The code also excludes the current post from the list and enables you to use any WP_Query parameters.

The code includes the genesis_entry_footer hook which displays the list of related post titles immediately after the entry meta in your entry footer.

Here’s the code you can simply copy and paste to the end of your child themes functions file:

Register for full access

Related Posts

  • Genesis Related Posts With Images

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems