Where to add the code for an outer container in a theme?

It is really hard to say without being able to look at your theme files directly. But you are most likely going to have to put <div id=”hbz_outer_container” style=”position: relative;”> <div id=”hbz_drop_shadow”> somewhere in your header.php and then put the closing tags: </div><!– hbz_drop_shadow –> </div><!– hbz_outer_container –> in your footer.php header.php and footer.php should … Read more

Why has my WordPress theme disappeared from my WordPress site?

As mentioned, you should never modify the code of a theme. You should always create a Child Theme that uses that theme. Info about Child Themes – start here https://developer.wordpress.org/themes/advanced-topics/child-themes/ Whenever a theme is updated by the theme author, it overwrites all of the theme code, including the changes you have made to the code. … Read more

Multiple Custom Headers

What you want to achieve is posible but not with WordPress custom-header feature because it’s you can use multiple images in random sequence. If you mean ‘different page templates’ you can simply hard code your images links in your templates, but this is not good solution. Another solution is to write function which will check … Read more

Need some PHP schoolin’! passing var to url and the old options table

PHP (as usual) has some nifty stuff, namely http_build_query() for putting together URL requests. However for some reason (historically) PHP4 compatibility and encoding issues currently WP maintains fork of that function internally and offers build_query() wrapper, as well as nifty higher level function for URL manipulation add_query_arg() and remove_query_arg().

wordpress theme option in other templates

If you are using some custom global theme options, I’d set them in functions.php. Then you access them from any template if you declare them global first. // functions.php <?php $aagt_fb_url=”foo”; – // template file like header.php, index.php, etc. <?php global $aagt_fb_url; echo $aagt_fb_url;