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

learn more… | top users | synonyms

1
vote
1answer
238 views

WP 3.1 upgrade breaks AutoFocus+ theme

I run WP for my photoblog ShutterScape using the awesome theme AutoFocus+. Recently, I upgraded to 3.1 and now, it refuses to show the featured images in the individual post pages. I am suspecting a ...
0
votes
2answers
367 views

Is there any tool to find lines of codes responsible to generate front-end HTML elements?

Dreamweaver CS5 is very useful to design or modify a Wordpress theme. It inspects CSS elements in Live view (after seting up a test server), but its unable to trace original wordpress code responsible ...
0
votes
2answers
975 views

How can i link a custom post type thumbnail to intermediate size

I'm trying to build a picture gallery with custom post type in my theme and I think i figure it out almost everything but the call in the template, I already have the custom post type in the ...
1
vote
3answers
793 views

Is Dreamweaver CS5 a serious choice for theme/plugin development?

I've heard that Dreamweaver has been improved significantly in latest versions. Does anyone have experience in developing a theme or plugin using Dreamweaver? What are the pros/cons? Thanks in ...
0
votes
1answer
643 views

Pagination & get_pages?

I have a page that list the child pages of this specifiec page but i would like to add pagination for it , how can i do this ? here is the code that get's the pages <ul id="products" ...
1
vote
1answer
293 views

How do I remove twentyten without ruining what I did?

I created a blog with the twenty ten theme. I understand there are issues with upgrading WP with this default theme. It overwrites what you did. Is there a way to fix this with starting over. How ...
0
votes
1answer
201 views

How to setup sidebar modules to use jQuery Accordian

To use jQuery UI accordion, I need markup like <h3>Module 1</h3> <div> <!-- module content here --> </div> <h3>Module 2</h3> <div> <!-- ...
0
votes
2answers
137 views

What Can I do To Achieve this Effect: WIP -> Portfolio

Suppose for projects, I will have a bunch of WIP (category) posts. Then once it's done I will create a Portfolio post for it. I will want to link this Portfolio post with the WIP (similar to related ...
0
votes
1answer
297 views

Post Content Displaying Below ALL Shortcodes Content

For some reason, my posts content (the content placed outside of the shortcodes I have set up) is only displaying below all the shortcodes, no matter where I place content in the post. For example, I ...
0
votes
2answers
293 views

Janrain/Simple Modal under Redirected Domain

I have a wordpress site running on one domain that has the main 'client' domain for the site redirecting to it. I've got my Wordpress Address/Site Address entered correcting in Wordpress, and the ...
0
votes
2answers
1k views

Am I using get_posts wrong?

I have <?php $folioPosts = get_posts(array('category_name' => 'portfolio', 'numberposts' => 3)); if ($folioPosts->have_posts()) : foreach ($folioPosts as $folioPost) : ...
0
votes
1answer
703 views

Exclude parent categories from the_category() within the loop

I have typical parent and child categories setup as follows: Food potatoes corn beats Sports soccer football hockey etc. In my index.php template I'd like to list the categories of the ...
-2
votes
1answer
107 views

Replacing static code in a template file with a sidebar and widgets?

I am new to WordPress and need help. I am currently working on the site http://ecentriconline.com/surferbeachfront. On this page, I want to display the left hand side as a widget. Right now, the left ...
0
votes
1answer
95 views

How to know if I am on 1st page

How can I find out if I am on the 1st page of my home page. I have my page setup like below where I want to display the 1st 2 posts taking up full width. then the rest 1/2. But I want this behaviour ...
2
votes
2answers
357 views

How to handle thumbnails

How should I handle post thumbnails? Do most people put them in custom fields? Use a plugin? How do themes on ThemeForest handle this? Also different theme will have different size requirements? So ...
1
vote
2answers
562 views

Any dummy content I can use for development?

I tried using http://wordpress.org/extend/plugins/wp-dummy-content/ but when I try using it, I get something like An error occurred: Field 'to_ping' doesn't have a default valueAn error ...
0
votes
2answers
481 views

How to create query to get top 3 sticky/latest posts

I hope I will make sense, and if you have a better suggestion please let me know. I am just starting WordPress I want to layout my theme such that I get 3 sticky, not more than 1 month old, or latest ...
0
votes
1answer
457 views

Code to determine WP version check

I'm unable to devine what's causing my theme to crash in WP 2.9.2, although I know its something in my query statement below, so I need to do a version check for (version) < 3 to branch it. What ...
1
vote
2answers
819 views

How to add custom template tag in wordpress theme?

I am working on a WordPress site, it's an online newspaper site. The theme I am developing, I want to add custom template functions like get_footer() or get_header(), so that I can save those HTML ...
0
votes
1answer
491 views

Wordpress Theme that returns all posts as a JSON object?

Are there any Wordpress themes that will just return a JSON object that can be processed by Javascript to display a list of postings?
0
votes
2answers
882 views

Using wp_tag_cloud('format=array') to print tag names without links?

I'm trying to pull just the tag names as an array collection in order to write them out as a simple listing, without links, but the array that's returned does not send the name as an indexible item. ...
-1
votes
3answers
2k views

How to defeat “Blog pages show at most __ posts” setting in the loop?

I'm using this script on my archive.php in order to list a link list of all posts contained in the current category. However, its limiting the result count relative to the number assigned to "Settings ...
0
votes
1answer
460 views

get_the_tags with separator control?

I'm building a function in theme options to give the site owner more control over the post's "Tags" collection that I display at the bottom of each post page. Specifically, whether to add anchor text ...
0
votes
2answers
761 views

the_tags without hyperlinks?

How can I call the_tags as a list without hyperlinks?
1
vote
2answers
157 views

Is there a theme function for is_password_protected()?

I'm looking at the function and template references and I'm not seeing a way to test for whether a post is protected. Is there a theme function for (something like) is_password_protected()? I'm ...
1
vote
1answer
169 views

Script only partially runs on theme activation, but runs fully on deactivation?

The code below is near the top of my functions.php and is set to run only when my theme is activated: if ( is_admin() && isset($_GET['activated'] ) && $pagenow == 'themes.php' ) { ...
0
votes
1answer
52 views

How to set a page as homepage in stead of the newspages?

I need some help. I want the same as on this site: http://www.123ipad.nl/ (this is my website) When you go to the home url you come to a page in stead of the newspage. The newspages are in the submap ...
0
votes
1answer
224 views

security concerns if using html data-* attribute for l10n?

I need to pass a localized multidimensional javascript object to a page. The object is constructed using php and represents some wp-theme settings. I cant find a way to utilize wp_localize_script for ...
11
votes
2answers
1k views

pass object/JSON to wp_localize_script

I've got a working piece of javascript that contains an object literal. But I need to localize it, and I'm ytrying to figure out how to rewrite it so that I can get wp_localize_script() to accet it, ...
0
votes
1answer
268 views

If I remove Category base from my URLs, how difficult will rollback be?

The last time I asked a question that required an opinion response, I was awarded the dubious tumbleweed badge. I'm fearful of adding to my collection, but here goes :) I'm considering writing an ...
0
votes
1answer
180 views

Custom Post Types set up, how do I style the main slug page?

So basically I have custom post types set up, and one of these is called Packages. It's for a web design/SEO company. I need the nav link Packages to show in the navigation and all of the child links ...
0
votes
2answers
2k views

Add custom field automatically to custom page types

I have a custom page type set up called 'Products' and I need each of these post to automatically have multiple custom fields to set up a table of features/prices for the individual product pages. Is ...
0
votes
1answer
56 views

Is there Photo Categories?

I'm developing a theme, and there's a section for awards & certifications which will consist of just 4-6 small logos. Is there a way to put these images in a category and then display all of these ...
0
votes
1answer
608 views

Add SideBar/Widgets Just Below the Post

I have created and registered side bar in function.php and using it another place. It's working fine. Now I like to use it just below the post. I have installed some plugins -Bookmarks, related ...
0
votes
2answers
208 views

Include jQuery (or anything) inside Custom Options Panel's <head> tag

The title pretty much explains exactly what I'm trying to do. If someone could help me out, that would be awesome. Thanks! :)
1
vote
2answers
305 views

Category specific themes?

My client wants to implement a special appearance to each of our category pages. Kind of like child themes... she wants to shift the background image, change a few graphics, and tweak the colors ...
1
vote
6answers
1k views

Append HTML to an LI of wp_list_categories

Im currently using <?php wp_list_categories('child_of=4&title_li='); ?> to echo out a list of my categories. I'm wondering how I could append some html (specifically an » to the end ...
0
votes
3answers
938 views

Anyone using unzip_file successfully? It uploads the zip but doesn't extract it!

When I call the WordPress unzip_file() function below, instead of actually extracting the zip, it merely moves it into the target folder. When I trace $file and $to from includes/file.php I get: ...
0
votes
1answer
774 views

Is there a filter for enqueue script to strip the type=“text/javascript” property

script type="text/javascript" is optional in HTML5 and all browsers (even old ones) recognise JavaScript without it. I am building an HTML5 site and want my script output to be consistent. However, ...
0
votes
1answer
2k views

Fatal error: Class 'ZipArchive' not found

What would cause this error: Fatal error: Class 'ZipArchive' not found in /home/test/dummyurl.com/wp-content/themes/mytheme/upload-zip.php on line 14 PHP Version is 5.3.1 Does WP have a built in ...
0
votes
2answers
267 views

Customize how a Wordpress theme looks like in the Theme Selector

How do I customize how my theme shows up in the list of available themes in the Admin console, under the "Appearance" -> "Themes" section. I need to change stuff like the theme name, author, and ...
0
votes
1answer
367 views

How to call the_time current?

I'm using the_time function to print the current date on my site. The problem is, that it's returning post or page creation times on pages other than the front page. Can I force it to print the ...
3
votes
5answers
11k views

How to customize wordpress login/register pages?

My question is how do I customize the default WordPress login and register page without editing WP's core files. I'm thinking more along the lines of a functions.php code. Can anyone help me out by ...
1
vote
1answer
2k views

What are the Theme tags in style.css used for?

In the style.css file in the first comment block, there is a optional "Tags:" directive. What are these tags used for? When are they used?
0
votes
2answers
875 views

how to pull wordpress post comments to a external page

Hello I would like to know if there is a way to pull the contents of comments on a post to a separate page from wordpress. currently this is what i have, i'd like to replace with a function to pull ...
0
votes
1answer
2k views

How to determine if a category is empty?

Is there an existing function or call in which you can pass a category id to determine if the category has child posts?
0
votes
2answers
219 views

Is it possible to determine when user is at “Media > Add New” vs “Post > Add an Image”

I want to wrap the filter below in a conditional that tests whether the user is uploading an image from the Media Manager (Admin > Media > Add New) and not from the post editor image upload routine. ...
0
votes
3answers
4k views

How can I stop WP media uploader from creating duplicates of my uploaded images?

I have a setting in my theme that seeks to prevent the WP media manager upload utility from creating multiple copies of each image I upload. Apparently the latest versions of WP have changed the ...
0
votes
1answer
957 views

What are the permalinks options for “Category” base and removing it?

Under "Settings > Permalinks", we can set up the default category base name to use for our category landing pages. For example, site.com/categories/my-first-category/. Is there a setting I can add to ...
1
vote
1answer
964 views

How to create a multiple choice radio group for a single theme option

Logically, I'm thinking it should something like... <input type="radio" id="my_category_layout"> <option value="Item1">Item 1</option> <option value="Item2">Item ...