-
AuthorPosts
-
November 20th, 2017 at 13:20 #56503
Hi there,
Congratulations and thank you for the awesome theme. I’m wondering if you could point me in the right direction? I want to register the various Septera page templates for Global use as per link below. This is to allow me to use a a particular template with the Events calendar Plugin. https://developer.wordpress.org/themes/template-files-section/page-template-files/#creating-custom-page-templates-for-global-use
regards,
Chris.November 25th, 2017 at 15:20 #56656ZedCryout Creations mastermindSeptera does not include any page templates. What are you looking to do?
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.November 27th, 2017 at 10:55 #56695Hi Zed,
Thanks for getting back to me. So you found me out. I am a complete novice at this. What I’m trying to do is use the various Septera page layouts (eg. two columns sidebar on left, two columns sidebar on right, three columns sidebars either side) for Blog, Portfolio, Testimonial and Event Calendar Plugin pages. These pages pickup the default Septera layout. Is there a way to select which layout these pages use? Could you point me in the right direction?
Cheers,
Chris.Website: www.scottishmultisport.co.uk
December 3rd, 2017 at 16:01 #56863ZedCryout Creations mastermindIf those sections are plain static pages, then the layout option should be available for them. Is the meta option not displayed while editing the page(s)?
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.December 6th, 2017 at 13:47 #56966Hey Zed,
Thanks for following up. I think my challenge here is that it’s not a static page. There is no editor.
Would you be able to point me in the right direction for forcing non-static pages such as the blog page and this events page to use specific layouts?
Same goes for portfolio pages. The meta box isn;t available for those either.
Cheers,
Chris.December 6th, 2017 at 15:01 #56967Hey Zed,
I was just digging through some of the code. Would adding somehting like this to my functions.php have the desired effect?
function septera_force_layout_class() {
if( ‘custom-post-type-name’ == get_post_type() ) {
$septera_sitelayout = “two-columns-left”;
}
}Cheers,
Chris.December 10th, 2017 at 19:35 #57103ZedCryout Creations mastermindYou’ll need to customize both the septera_get_sidebar() and septera_get_layout_class() functions (copy their code from core.php) to perform the extra post type checks before picking the layout.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic. -
AuthorPosts
The topic ‘Register Templates as Global’ is closed to new replies.