CSS styling not working in a custom metabox

The metabox div gets an ID of ‘meta_’ + your metabox ID, thus: Sorry, that was me looking at my own metaboxes, forgetting that I actually prefix them like that to differentiate the container from elements within the container 🙁 Let’s work through your code and see if we can find the answer. First, your … Read more

How to create an Single-Portfolio page?

You have to use the Slug of your Custom Post Type “portfolio” for the filename, as you pointed out, single-portfolio.php is correct if your slug is “portfolio”. You just have to take one more step, create the file in the Theme directory (the same folder where your single.php is located). WordPress automatically selects the single-portfolio.php … Read more

How to access the so called “Posts page”

http://codex.wordpress.org/Settings_Reading_Screen “Posts page – Select in the drop-down box the name of the Page that will now contain your Posts. If you do not select a Page here, your Posts will only be accessible via other navigation features such as category, calendar, or archive links. Even if the selected Page is Password protected, visitors will … Read more

Why I am getting double jquery?

Some plugins do not use the recommended method of wp_enqueue_script(), and instead bundle jQuery with the plugin (or use an external version) and load it through dropping a <script> tag into the page head. Really, the only way to fix this is to manually edit the plugin files and remove the duplicate call to jQuery. … Read more

Iframe only visible after log in

The only reason I can imagine that happening is if the iframe is wrapped in a check to see if the user is logged in. As @s_ha_dum said, WordPress login isn’t tied to directory permissions in any way, so just make sure that when the iframe is displayed in the theme it isn’t inside any … Read more