Forum Replies Created
-
AuthorPosts
-
May 8, 2014 at 12:52 pm in reply to: Youtube video background issue when logged into youtube, cross domain security #261748
Hi,
I wasn’t able to get the fix to work, but then I realized it was related to cloudflare.
I think I’m all set now thanks
There was probably a cleaner way to do this that involved registering a page type in avia, but I ended up replacing template-builder.php in the child theme and injecting php based on type.
added this simple code around line 44
echo $content;
// Inject Special content for specific content types
if(get_post_type()==”portfolio”){
echo ” test of cck content”;
}I will probably make function and call it from the standard wp page template and template-builder so it works with/without avia on.
- This reply was modified 10 years, 8 months ago by agbishara.
March 9, 2014 at 12:10 am in reply to: Trying to Customize Post type theme for the portfolio #234316It looks like when you flip to the avia builder it flips to the builder template for all content types? Can you confirm this? My guess is that because they added a template button above the editor that’s how avia tries to cope with disabling the default word press behavior of recognizing the single-…. template.
Hi,
So made progress. I’m using a child theme and edits to the single-portfolio is pickup up now as long as I don’t flip to the advanced avia builder. How do I get the theme to work with the builder when I do? I figure I have to edit the loop-single-portfolio but its not displaying.
Never-mind, I entered a license and api key and the child theme kicked in All Set
-
AuthorPosts