From e11e611964e41ca2173158aea18626cb2fe226a1 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 30 Jan 2018 17:06:01 -0500 Subject: [PATCH] Show relevant sidebar posts on member detail pages Posts are retrieved and displayed on member detail page sidebars depending on whether said posts have a tag associated with that member. Also added an extra royalsider instance so it can be properly initialized. This element is hidden, and is an unfortunate necessity for the posts sidebar slideshow to show up until we get a chance to find out why it is not being properly initialized. --- page.php | 10 ++++++++-- sidebar-member.php | 33 ++++++++++++++++++--------------- 2 files changed, 26 insertions(+), 17 deletions(-) diff --git a/page.php b/page.php index 2836b72..b1269fe 100644 --- a/page.php +++ b/page.php @@ -65,8 +65,14 @@ get_header(); ?> -
- +
+
ID; endif; -$author_id = $curauth->ID; if ( ! is_active_sidebar( 'sidebar-2' ) ) { @@ -22,18 +27,17 @@ if ( ! is_active_sidebar( 'sidebar-2' ) ) { } ?> -