Articles of themes

Varying Search Result Pages

I have two different kinds of search results on my site and I’d like to change the look of the search result page entirely. I’ve played around with the search form a bit but I’m unsure how to force it to redirect to an alternate search.php Any help would be appreciated <form role=”search” method=”get” id=”searchsupport” […]

Display a specific dynamic sidebar widgets on a specific page

I have had a wordpress site handed off to me halfway through completion. It’s been at least a year since I last used wordpress and there are a lot of things I’m finding different. The way I am used to displaying different content on different pages is to create page templates for each page that […]

Changing $before_widget for certain widgets

So I’m working on designing a WordPress theme with lots of extra widgets. The ones I have added are in separate files, and called in the functions.php I have lots of css on the widgets themselves and the div classes are in the $before_widget and $after_widget etc in functions.php. My problem is that for certain […]

Add a series of checkboxes to theme options

Hi I made a theme options by this tutorial This options have multicheck type by checkboxes. I don’t know how to make it work. I’m try to exclude page using this multicheck. This is my array with options: $pages = get_pages(‘sort_column=post_parent,menu_order’); $pageids = array(); foreach ($pages as $page) { $pageids[$page->ID]= $page->post_title; } array( “name” => […]

how to add custom fields in page

I am still new to WordPress and I want to insert a featured content gallery into a WordPress page. I tried to do it myself, but it wanted me to use custom fields. Where can I add custom fields, is there any coding required? or do I just enter the value into custom fields text […]

Advantages of using <link> instead of wp_enqueue_style()?

I’m working on a child theme for a base theme that mixes equal parts of <link> CSS and wp_enqueue_style() CSS. This base theme has me thinking – I don’t see any advantages to using <link>, other than that it may it’s a simpler solution for very simple themes. (for example, using <link> can be done […]

wordpress theme backend admin only

Does anyone know of a theme that completely removes all uses and aspects of the frontend. So the sole use of the site will be in the admin section. to use as a portal for something like a school or internal government uses.

How can I list recent posts excerpts?

I am using this directly from the codex to list 3 recent articles titles. <ul> <?php $args = array( ‘numberposts’ => ‘3’); $recent_posts = wp_get_recent_posts( $args ); foreach( $recent_posts as $recent ){ echo ‘<li><a href=”‘ . get_permalink($recent[“ID”]) . ‘” title=”Look ‘.esc_attr($recent[“post_title”]).'” >’ . $recent[“post_title”].'</a> </li> ‘; } ?> </ul> This works fine however, when I […]

Confit theme on WordPress.org

I’m a fairly new user of wordpress.org. I have a wordpress.com site using the Confit theme and wish to transfer it to .org. I exported the site from .com and into imported to .org successfully, only to find that .org did not offer the Confit theme. I have since downloaded the directory for the Confit […]

How to set different settings for a mobile theme?

My desktop version of wordpress theme requires using a ‘static’ page as the start page as it has custom shortcodes etc. While this is good, when it comes to my mobile theme, sadly the ‘static’ page is being displayed and because its a different theme, the shortcodes are not being executed. Is there a way […]