Themes create the public (front-end) interface for a WordPress site.

learn more… | top users | synonyms

0
votes
2answers
2k views

How to have content scroll over background

I'm attempting to modify the latest version of the mystique theme, and would like to have it so when I select a background, the page will lock that background into page, but have the content scroll ...
0
votes
1answer
464 views

Allow access to stand-alone php file Wordpress

I am developing a wordpress theme and I want to use jQuery.load() to load data from a PHP file in my theme directory called process.php to a div in a wordpress page template. I haven't had any issues ...
0
votes
2answers
8k views

3 Level Deep Navigation Menu Not Showing All Levels

I have a 3 level deep navigation menu which will show beside all pages on the site except the homepage. The issue is only 2 of my 3 levels are showing in the menu when displaying it using the ...
0
votes
1answer
209 views

Contact Form Security

Building my own contact form in Wordpress. Any there any security steps I need to consider other than the typical email etc validation and maybe a captcha. I am not sending any data to the database.
6
votes
1answer
886 views

What is the difference between esc_html and wp_filter_nohtml_kses?

What is the exact difference between esc_html and wp_filter_nohtml_kses. Everywhere I look says that both strip all the html, the only difference I can see is to do with exactly how they do this. Does ...
1
vote
2answers
57 views

Should use widgets in this case?

We develop a new WordPress site with a new theme developed exclusively for this site. Some widgets of the same type (such as two "Bookmarks" widgets) should be styled differently (that is have ...
0
votes
1answer
605 views

unable to wp_enqueue_script('suggest');

i'm not able to enqueue the built in autosuggest script in my wordpress theme. wp_enqueue_script('suggest'); my current workaround for that problem is to deregister, register manually an then ...
1
vote
1answer
105 views

WordPress Theme Creation [closed]

I have a HTML site that I would like to turn into a WordPress theme and I was wondering if people could pls point me to the best available Wordpress themes that can be used as a skeleton base for this ...
13
votes
3answers
2k views

How important is it to enqueue a theme's stylesheet?

I have trawled the net looking for an answer to this, but for some reason all I can find are actual examples, but without that particular explanation, which is clear say in the case of scripts. Can ...
0
votes
1answer
373 views

Tabbed theme options query about add_settings_section callback function

I have been building a tabbed option page based on some tutorials I found, using the settings API. Here is the code http://pastebin.com/bbSnhFP5 . It's all actually working fine for me but it's not ...
1
vote
2answers
221 views

Highlight static blog page link in header

I created a navigation bar like tab system for my header and I can get all but my news button to highlight on that page. The news is a static page for all of my blog/news post. Not sure if it's my ...
1
vote
1answer
223 views

Using AJAX in wordpress theme

all In my theme there is a notification at top. After user login he can see the notification update. when click on notification i want to make change in database alert field value 0 to 1. My ajax ...
0
votes
1answer
394 views

How can I use a sliced image As banner? [closed]

I am giving a try to something i have never done before. I am trying to slice a psd file and want to use it as a banner. But the problem is, as you may already know that, wordpress only allow one ...
0
votes
3answers
167 views

Need help with adding templates (archives and sitemap) to Wordpress child theme

I recently switched themes, and my old theme had templates for sitemap and archive (in fact the archive was one of my most viewed pages.) When I switched themes the link to the archive and sitemap ...
1
vote
3answers
7k views

Unhook jQuery from WooCommerce via `functions.php`? [closed]

So I am using the http://woothemes.com/woocommerce/ plugin for eCommerce and it's registering jQuery local and conflicting with my default jQuery call from Google CDN. It took a long time but I ...
-2
votes
1answer
1k views

Adding a new layout for genesis

I have added a new layout for the genesis framework called "modalwindow". This layout should only display the content because it is a modal window loading page content (I don't want any of the header, ...
0
votes
1answer
1k views

WP_editor doesnt apply wpautop on single line content

For a current project I am trying to echo a line of text saved in the theme's options page. I use the wp_editor function for the user input instead of a textarea. The code I am using is quite simple: ...
1
vote
2answers
665 views

Custom php page in WordPress theme?

For example I have in my theme folder named test-pages with some php web pages that display different message, in some part of process I want to pull with file_get_contents to get content of one page ...
0
votes
2answers
2k views

Yoast SEO Plug In and my Theme duplicating code. Need some feedback on what to do? [closed]

The theme I am using does most all the SEO stuff that I want it to with the exception of tweaking the titles on a post by post basis, and the ability for me to write my own meta descriptions for each ...
1
vote
1answer
505 views

Having separate plugins and themes folder for multi-site setup

My multi-site setup uses sub-directory. I am creating one plugin + one theme to customize each of the sites. Is there any way to have separate plugins and themes folder per site like so or something ...
1
vote
1answer
92 views

Change the look and feel of admin pages

I want to change the look and feel of the post edit page without making changes to any of the wordpress core file, which is basically a theme. For example, for any user with role of 'author', i want ...
6
votes
3answers
2k views

Child Theme vs Duplicate Theme Renamed

Okay, I quite often see people talk about child themes and the reasons for using them instead of modifying the existing theme, but they all seem to center around the idea that if the parent theme is ...
0
votes
1answer
651 views

Trouble in creating a custom template on twentyeleven theme

I am trying to extend the twentyeleven theme's sidebar template. My custom template (its incomplete) is as follows: <?php /** * Template Name: Quote Request * Description: A Page Template that ...
4
votes
1answer
2k views

How to use Plupload in themes

I am developing a theme which needs uploading from front-end. I want to integrate plupload in my theme while keeping in mind that: Uploading will be handled upon form submission, and not from the ...
2
votes
3answers
3k views

the_excerpt() not showing manual excerpt for Pages

I have enabled the excerpt feature for pages in my wordpress theme - add_action( 'init', 'my_add_excerpts_to_pages' ); function my_add_excerpts_to_pages() { add_post_type_support( ...
2
votes
1answer
839 views

How to choose which template to be used for multiple taxonomy query?

Since 3.1 WordPress support multiple taxonomy query. The question is : If I have a two taxonomy query, e.g: http://localhost:8888/site/?lot-term=australia&story-type=note how can I determine ...
2
votes
1answer
1k views

How to Build a Movie Library in WordPress 3.x

To help me learn WordPress development, I'd like to go "beyond the blog" and build a personal movie library -- similar to IMDb but on a much smaller scale. I need help understanding how to approach ...
0
votes
1answer
83 views

My contact form - I've changed the source code but the changes are not being applied

I obviously found the file responsible of displaying the contact form with FireBug, changed the displayed names in the input area and then re-upload my file, however, nothing was changed. The input ...
0
votes
2answers
999 views

CSS in child theme not overriding the parent theme [closed]

I am trying to make a child theme for a premium template. My css isn't overriding the parent though. I'm trying to figure out what's going on. Other than important the parent theme's css, is there ...
0
votes
2answers
137 views

Where do you add code in custom fuctions so it works on a specific page?

Thanks for replying but I still can't get it to work. Is anything wrong with this code? <?php class custom_loop extends thesis_custom_loop { function page() { if(is_page( ...
0
votes
4answers
95 views

Is there a way to visualize / print out which templates were used to render a given piece of UI?

Trying to customize Twenty Elevent theme it would be super useful for me as a beginner to see which templates rendered which pages / parts of the pages. Is there a plugin or manual way to achieve ...
0
votes
1answer
387 views

How to make theme configurable

I'm creating my first theme (actually a child theme of "twenty eleven") and am not sure how to best approach theme customization. Say that I want to have a RSS link in the sidebar shown or hidden ...
2
votes
3answers
10k views

How Does One Change The Meta-Description Of Home-Page?

In WordPress, How Does One Change The Meta-Description Of The Home-Page? Honestly, I have searched low and high for the answer to this in WordPress. Went to every page in the back-office to no avail. ...
3
votes
1answer
170 views

How to display wp_nav_menu() conditionally only when not on a 404 page?

I made a custom design for my site. On my header i put my navigation so everytime i call the header the navigation will be called to, so that i would not be calling it all the time. But now i have a ...
0
votes
3answers
1k views

How to support letting users add their OWN logo to a custom theme?

I am a rookie theme developer (3 months in) and I am trying to figure out how to implement the following functionality: The theme I am building has a logo which I would like for users to be able to ...
-1
votes
2answers
2k views

Integrating WordPress Content into a jQuery Slider

I have a pretty basic 'featured-list - image slider' implemented above my content in my custom WordPress theme. How do I integrate WordPress content into the slider so that the slide content is pulled ...
0
votes
1answer
99 views

How do I provide for multiple crops of the same image in a theme?

I've been working on a Wordpress theme (my first, actually) and the design includes a header image. However, the header is extremely wide and thus is really small when adapted to a phone layout. ...
4
votes
1answer
89 views

When coding a Wordpress theme, where does the theme (i.e. the presentation) end and the plugin (i.e. the functionality) begin?

The best guideline I have seen for what should be in a theme is to put "functionality" in a plugin. I am looking at adding more "premium features" like jQuery image sliders. This requires a back-end ...
2
votes
2answers
1k views

Wordpress Enqueue Script Chaos (jQuery & Foundation.js)

I've been working on building a theme for the past couple days now, and I've run into a wall. While I originally included foundation.js as an enqueued script, I couldn't remember why I had added it. ...
8
votes
3answers
3k views

How do I add version control to my workflow?

I develop themes, lots of them. I am given a PSD, code up the HTML/CSS, slap the code into Wordpress, and make corrections as they get QC'd. Once live, clients can edit blog posts like normal or ...
3
votes
2answers
91 views

Active theme responds to theme change request to alert user

I'm trying to intercept the install themes routine in order to alert the user from the active theme. I'm cobbling together a crude javascript alert below. What are some other options? if ( ...
0
votes
2answers
412 views

How to properly create a child theme

I would like to create a child theme based on the twentyeleven theme. I understand how to create my own styles.css file to work for my child theme. I would also like to create my own custom ...
0
votes
1answer
214 views

Theme calling page.php instead of home.php

I'm trying to help someone troublesheet a custom theme they made. The blog is set to display posts on the homepage, but the homepage should be custom from the rest of the site. The theme has a ...
0
votes
1answer
544 views

language support in a custom urdu theme

I am planning to start work on an urdu (language in pakistan) website theme. basically, it will be a newspaper themed website. Can anyone tell me how can i add urdu support in my theme. I dont want to ...
1
vote
2answers
334 views

How to determine which custom header image is being shown

I'm using a customized version of the Twenty Eleven theme. I want to set a class on the body based on which random header image is displayed. Is there some function that allows me to get the name of ...
1
vote
1answer
175 views

How do I Add images uploaded in the post to a default custom field

I'm trying to add the URL of the post images in to a default custom field. Here is the code I got so far... Here is how I add the default custom field: add_action('wp_insert_post', ...
2
votes
3answers
111 views

Is it a good idea to make whole theme widgetized?

I have mainly seen sites using widgets on sidebars or inside multi-column layout. However, I was wondering what if we could use widgets in every blocks like header, main content block, footer etc. Is ...
0
votes
2answers
1k views

Add image URL automatically to custom field?

Does anyone know how I automatically add the URL of the uploaded image to a custom field? In other words, When I upload a image I want the url to the image to get a custom field variable ...
2
votes
2answers
7k views

Proper use of Output Buffer

I'm attempting to use actions to override function calls I currently have throughout a template (to make updating certain replicated sections easier). For example, in archives.php I have the ...
0
votes
2answers
90 views

Minimal WordPress Functionality on Existing Website

I have a client that wants the ability to remove or add a special offer from the front page of her website. I thought of creating a custom loop using a featured image etc, which would display the ...