TwentyEleven: Sidebar Page Template and Custom Post Type
-
Hey everyone,
I am running the TwentyEleven theme on 3.4. I created a child theme and started building my site, but noticed Today when I grabbed the unedited Sidebar-Page.php file, and renamed it to single-artist.php (artist is my custom post type slug) that the sidebar loads UNDER the content, and not on the side of it.
https://postrockdb.baltimoredrew.com/artist/explosions-in-the-sky/
code for single-artist.php: https://pastebin.com/4qnTdjbW
Note: I did replace the php call for content-page.php with the actual code (sans removal of Title), and I also set get_sidebar to ‘artist’ but deleted the sidebar-artist.php file until I can get this sorted. So it defaults to sidebar.php which has been untouched.
- The topic ‘TwentyEleven: Sidebar Page Template and Custom Post Type’ is closed to new replies.