Change sidebar widgets depending on the current page Forums » WordPress » Mantra » How To Author Posts November 10th, 2014 at 23:05 #28154 Ursego Hi, I would like to hange sidebar widgets depending on the current page. Somthing like that (pseudo code to demonstrate the logic): IF page 1 is open THEN this HTML fragment ELSE IF page 2 is open THEN another HTML fragment ELSE third HTML fragment END IF Thanks! November 10th, 2014 at 23:07 #28155 Ursego Opps, to “handle”, not to “hange”! 🙂 November 14th, 2014 at 04:42 #28228 Larry Cotton I assume simplest way is with a plugin, I use Custom Sidebars on one of my sites… https://wordpress.org/plugins/custom-sidebars/ Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The topic ‘Change sidebar widgets depending on the current page’ is closed to new replies.