From: Laury GvR Date: Tue, 30 Jan 2018 22:06:01 +0000 (-0500) Subject: Show relevant sidebar posts on member detail pages X-Git-Tag: v1.0.0^2~60 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e11e611964e41ca2173158aea18626cb2fe226a1;p=WP-Themes%2Fwmta.git 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. --- 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' ) ) { } ?> -