can not call functions in function.php
Your class instance is not in the scope of header.php, you need global $cbMain before accessing member functions.
Your class instance is not in the scope of header.php, you need global $cbMain before accessing member functions.
There are many things to check for. It sounds like you are not doing anything ‘complex’ so I’d start by looking at the theme you are using to see if it has its own custom settings for ‘front page’ type features. Maybe those are getting in the way? Sorry, without any more detailed information, it’s … Read more
You have to add new page from Add new page menu at admin side and give this a name ‘submit’ and choose template you have created then publish the page.
What is the best way to create very custom campaign pages?
In principle PHP can do this with exec(), so WordPress can as well. You do not specify enough details, but it sounds either like form submit or Ajax request. Different implementation but in the end you will be running exec() just as well. PS think really hard on how secure it will be and which … Read more
Take a look at the WordPress Template Hierarchy to see how to have different looks for different pages. The template for the front page, for instance, should be named front-page.php. If you follow the naming convention for templates, you don’t need to do anything in functions.php
It is normal to have some text used in template. Typically that would be pieces of “technical” text, related to interface and which must be in code to be localized. In solutions meant for public use it is certainly not normal practice to have actual content hardcoded in templates. For private projects it is more … Read more
The question isn’t very clear to me but i’ll attempt to answer anyway, forgive me if it’s obvious to you: What you describe is the behavior of “custom post types” When you create custom post types you define a slug like your “suburl” and “suburl2” and all posts created under that type fall under site.com/suburl/post-title … Read more
I need to modify the source code from my static page
twenty seventeen customizer duplicates section content