Sidebar Population
-
I’m trying to match the info on the sidebar on my example page with the one on this page:
https://www.mouseandcastle.com/media-artist/dsny-newscast/
How does the relationship between {@media_artist} and POSTS need to be set to make this happen?
This is how it looks on the Media Artist Archives page, where it works…
<h3>{@name}</h3> {@youtube_subscribe} <br><br> [if youtube_webaddress] <a href="{@youtube_webaddress}" alt="{@media_artist} on YouTube" target="newwindow" rel="noopener noreferrer"><div class="button_img"><img src="/wp-content/images/youtube.png" /></div></a> [/if] [if vlogger_web_address] <a href="{@vlogger_web_address}" alt="{@media_artist} on the Internet" target="newwindow" rel="noopener noreferrer"><div class="button_img"><img src="/wp-content/images/website.png" /></div></a> [/if] [if facebook] <a href="{@facebook}" alt="{@media_artist} on Facebook" target="newwindow" rel="noopener noreferrer"><div class="button_img"><img src="/wp-content/images/facebook.png" /></div></a> [/if] [if twitter] <a href="{@twitter}" alt="{@media_artist} on Twitter" target="newwindow" rel="noopener noreferrer"><div class="button_img"><img src="/wp-content/images/twitter.png" /></div></a> [/if] [if instagram] <a href="{@instagram}" alt="{@media_artist} on Instagram" target="newwindow" rel="noopener noreferrer"><div class="button_img"><img src="/wp-content/images/instagram.png" /></div></a> [/if] [if patreon] <a href="{@patreon}" alt="{@media_artist} on Patreon" target="newwindow" rel="noopener noreferrer"><div class="button_img"><img src="/wp-content/images/patreon.png" /></div></a> [/if] [if merch] <a href="{@merch}" alt="{@media_artist} Merch" target="newwindow" rel="noopener noreferrer"><div class="button_img"><img src="/wp-content/images/merch.png" /></div></a> [/if] [if spreadshirt] <a href="{@spreadshirt}" alt="{@media_artist} on Spreadshirt" target="newwindow" rel="noopener noreferrer"><div class="button_img"><img src="/wp-content/images/spreadshirt.png" /></div></a>[/if] [if fanpage] <a href="{@fanpage}" alt="{@media_artist} Fan Page" target="newwindow" rel="noopener noreferrer"><div class="button_img"><img src="/wp-content/images/fanpage.png" /></div></a> [/if]
Also, can this be used on a WordPress template page? There are some places where I could hardcode the info into the sidebar that could tidy up how I’m doing it now.
Thanks!
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Sidebar Population’ is closed to new replies.