disable default widgets in Responsive theme

You have to change the sidebar.php. In there, the default Sidebar main-sidebar is called. If no Widgets are registered in this Sidebar, the fallback function shows a monthly Archive. You have got two possibilities: Register a Widget for the Main Sidebar Remove the Fallback Function from sidebar.php. In this case, it would look like this: … Read more

Error when installing theme – “failed to open stream: No such file or directory in…”

Could not copy file. /home/content/38/7184638/html/wp-content/themes/SEWS_theme/img/border.png because there is no file border.png. Maybe it is not included in the zip file. Or there was errors while unzipping the zip archive. The directory in the errpor message is ‘wp-content/upgrade/’, so I think you do not upload and install a theme, you try to update a already installed … Read more

How to include stylesheet in custom admin using parent_slug

Don’t confuse menu structure with page/URL structure. Each one of your pages may have a different hook. Do this: function my_enqueue($hook) { echo $hook; } add_action( ‘admin_enqueue_scripts’, ‘my_enqueue’ ); Load your pages and write down the hook names. There may be other ways to do this too, like the admin-print-scripts-$hook_suffix hooks. Look in wp-admin/admin-header.php to … Read more

Event Organiser breaks the theme [closed]

Your events page has: <div id=”primary”> <div id=”content” role=”main”> <article id=”post-4765″ class=”post-4765 event type-event status-publish hentry”> <header class=”entry-header”> Your home page has: <div class=”container_6″> <div id=”main” class=”site-main clearfix”> <div id=”primary” class=”content-area grid_4″> <div id=”content” class=”site-content” role=”main”> <article id=”post-4684″ class=”post-4684 post type-post status-publish format-standard hentry category-discus tag-robert-harting”> <header class=”entry-header”> To get consistent formatting you need consistent … Read more

Theme title in admin shows full path [closed]

Do a project/directory wide search in your theme directory for add_menu_page and make sure second and first parameters of any calls to that function does not supply anything weird. By the looks of instead of a page name, the result of get_bloginfo(‘stylesheet_url’) is used when setting up the menu page. Also, if possible, try temporarily … Read more

Index page is not working

I expect that there is an index.html or an index.htm file in that directory which is getting priority over WordPress’s index.php. Remove or rename that .htm? file. For reference: http://httpd.apache.org/docs/2.2/mod/mod_dir.html See the DirectoryIndex part.

Two column layout in WordPress?

This is not really a WordPress question but my first plugin solution is a “WordPress” way to do it. My other solutions are more general web design. I’m also making the assumption that you have some experience with custom templates/scripts. If you want to manually do it you can use something like Grid Columns This … Read more

How to remove date, author and comment count from Chameleon search results page

If the theme doesn’t have a search.php file, index.php will be used. Template_Hierarchy Template file used to render a Search Results Index page search.php index.php [update] Use the following to print the current template being used to render a page: add_filter( ‘the_content’, ‘so_9405896_the_content_filter’, 20, 1 ); function so_9405896_the_content_filter( $content ) { if( is_admin() || !current_user_can( … Read more

How can I add text on top of slideshow? [closed]

I’m confused as to what you are asking. Functionally, all you are required to do is add a DIV with a text block: <nav role=”navigation” class=”main-nav”> … </nav> <div class=”introtext”> <your content here> </div> <section class=”content”> Are you asking how to do that as in what file to edit or are you asking how to … Read more