Template Sync Theme Option
-
Topic
-
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.
Tagged: template sync, Theme Options
Might be stepping into unknown territory here.
Would it be possible to add a ‘Before Header Template Sync’ theme option, that functions exactly how the Footer Sync option works?
Understand this might sit outside general support question.
Hi,
Forget about the actual theme option, I’d start with trying to figure out simply a way to hook in at some point and display a custom layout. You’d have to somehow set the current WordPress global $post
object to some custom template (which will be a tb_layout post) and then call themeblvd_builder_layout('any_string_here')
, and then rewind the main loop back to original $post
object.
https://github.com/themeblvd/theme-blvd-layout-builder/blob/master/includes/general.php#L29
That would be a starting point, but I’m not really sure what road this will take you down, as I didn’t build things, intending for that. But if if you look at themeblvd_builder_layout()
, in theory, it could work?