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

learn more… | top users | synonyms

-3
votes
1answer
47 views

$_html is empty when var dumped

So I have run across a bizzar issue, in which I know is working as i expect it to in terms of the array values, yet the _html variable returns something like string(29) " " which to my knowledge ...
2
votes
1answer
35 views

How to determine which registered sidebar area a custom widget is loaded into

I have a custom widget that I want to apply conditional logic to, depending on its parent sidebar's registered ID. For example, my theme has 6 registered sidebar widget areas. I have a custom widget ...
0
votes
0answers
24 views

All posts not being displayed [closed]

I have built a site that uses the "posts" type to display their galleries as normal posts. It is set to be sorted by custa meta date and continue on down the page. As of right now, I have made 15 ...
-2
votes
2answers
47 views

Roll my own theme or customize an existing one [closed]

I just want to know whether I should roll my own theme from scratch or I should customize an existing one like twenty twelve. Reason I ask is I wanted to know whether there are any best practises I ...
0
votes
2answers
115 views

Minimum Template Files for Theme Development

WordPress has minimum theme template files as style.css index.php and also some other files as listed here. If the theme developer wants to build theme with less bells and whistles, what are ...
1
vote
1answer
124 views

Custom Nav Walker to show siblings and children of current branch?

I have seen very similar (if not exact) queries to this all over Google, but always seem to find something short of what I need. I am trying to create my full vertical menu using wp_nav_menu in my ...
0
votes
1answer
36 views

How to using custom DB tables

I create a new theme. One of my targets is to enable the admin to add unique text (html code) to unique table which the theme will automatically create (I mean something like wp_myhtml). My ...
2
votes
1answer
40 views

Where to put archive-{post-type}.php

I have a plugin that adds a custom post type for a website I'm building. I am using the_content filters to change how a singular page looks, and it works great, allowing me to keep everything ...
2
votes
2answers
174 views

How to call wp_list_comments() with callback outside the loop

the template function as a callback argument of wp_list_comments function, and the template function takes three args:$comment, $args, $depth, like the template function that defined in the theme ...
7
votes
2answers
122 views

how can I add an icon/image for a child theme?

I have set up a child theme of the twentyten theme. In the themes section that under the appearance, I can only see the child theme's title, author name, and a grey box above it. How can I add an ...
1
vote
1answer
143 views

Location of theme options page menu icon

Hi this may look a little silly question but can someone let me know where is the location for theme_path? is it inside my own theme or very top level of the directory? 'menu_icon' => theme_path ...
2
votes
1answer
41 views

Change permalinks for posts but not for custom post types

Currently my permalink structure for posts is domain.com/post-title I'm using a static front page and a "blog" page for posts. I'd like to to change the permalink structure for posts, tags and ...
1
vote
2answers
380 views

Infinite Scroll not working in own theme

I'm developing my own theme and added this in a function which is called with the hook after_setup_theme to support infinite scroll: add_theme_support( 'infinite-scroll', array( 'container' ...
0
votes
2answers
105 views

Polldaddy doesn't show up on own theme

I'm developing my own theme on a website where I use the polldaddy polls & ratings plugin. I've set the ratings to show up on the homepage and that's working with e.g. the twentytwelve theme. ...
0
votes
2answers
2k views

WooCommerce: multiple input field for multiple product variations

I'm trying to customize the default Woocommerce theme to my needs. I have a product that comes in two variations: it's wine, so variation A is a 6 bottle pack, and variation B is a 12 bottle wooden ...
0
votes
1answer
27 views

Disable sticky option for specific categories

Is there a way to disable the sticky option on posts in specific categories?
2
votes
1answer
83 views

How to remove the Theme Customization Button from the dashboard and themes options page?

In my Wordpress theme that I've currently been building I do not take advantage of the Wordpress Theme Customization API. As much as I would like too, I've invested far too much time into my own ...
1
vote
2answers
386 views

A guide or tool for inserting bootstrap in underscores theme?

I am looking for a guide or tool for inserting bootstrap in to underscores theme. Booststrap is a CSS framework and Underscores theme is starter theme with ultra-minimal CSS.
0
votes
1answer
48 views

Widget HTML Display Problem

Hi I have created a plugin that places a Google Translator into a text widget in Wordpress. I have setup shortcode to do this - and the shortcode seems to be outputting the correct HTML, except that ...
1
vote
1answer
195 views

Warning/Error in Admin Panel while developing theme

I am developing a theme for my website. As soon as I activated the theme, the following errors/warnings shows up on the top of the admin panel on every page. Strict Standards: call_user_func_array() ...
3
votes
2answers
136 views

Are the wordpress Core css styles really all nessasary?

On WordPress Codex there are this CSS styles listed, its a quite big list of styles but it seems they are doubled unnecessary. It says: Each Theme should have these or similar styles in its ...
0
votes
1answer
29 views

Apply custom names for generic custom taxonomy name?

Hello, this is more of a 'is it possible' type question. Keep in mind, I am no php master by any means, but can generally figure things out : ) Say i have a wordpress site that is for displaying menu ...
0
votes
2answers
78 views

REQUIRED: Could not find wp_link_pages. See: wp_link_pages by Theme Checker

I have run my theme through WordPress theme checker to see if it can be submitted to WordPress.org. I encountered this error: REQUIRED: Could not find wp_link_pages. See: wp_link_pages But this ...
2
votes
3answers
460 views

Optimal solution to develop a wordpress theme?

What i was doing previously, are as follows - I copy the wordpress base theme (like twentytwelve in wordpress 3.5) Rename the folder and converted index.html of my HTML to index.php for wordpress ...
0
votes
1answer
41 views

Converting a theme to a child theme in a network

I'm converting a few themes to children of another theme. I want the themes to have the same name as before, and I'd like the change to be transparent to the users of my blog network. When I replace ...
0
votes
0answers
12 views

Why won't next_posts_link and previous_posts_link work on front-page.php? [duplicate]

Possible Duplicate: Pagination not working with custom loop I'm working on a custom theme, and for some reason the pagination nav works fine on index.php, but not on front-page.php The ...
1
vote
3answers
156 views

Is there any way to have Featured Text, as opposed to Featured Image?

I need to have Featured Text displayed on my category page, as well as a Featured Image. The Featured Text can not be in the Post at all (just as a Featured Image is not in the Post). Does anybody ...
0
votes
1answer
61 views

Pagination issue with Single.php

I am having issues understanding the worlds most simplest concept when it comes to building a single.php file and using pagination. The code bellow shows a wordpress loop, its contents and then ...
-2
votes
1answer
62 views

Pagination not working properly

I have a list of posts from a category as seen here in this example. The problem is, if you scroll down to the bottom and click older, you'll see that the posts on the page have not changed at all, ...
-1
votes
1answer
1k views

Cannot modify header information - headers already sent (Theme Specific : functions.php) [closed]

I know the problem may be too localized and specific to my theme only, but I think, if we can explore the problem, dig it, then we might find a new solution from it. PROBLEM I made a custom theme ...
0
votes
1answer
46 views

How to add a post class on every post. (on homepage)

I have this code in my home.php, the very first post class does not get the class while the others do. Same thing when i move this code to functions.php. I get php errors when i remove the hook around ...
0
votes
2answers
985 views

Making custom woo themes

I have recently decided to step into WordPress but I am needing to create a few themes for eCommerce that are currently built in Open Cart. My experience from eCommerce comes from Open Cart but I am ...
0
votes
2answers
49 views

How to create a template for Pages?

In Wordpress, when creating a page, it shows some options for Template under Attributes, such as: Default, Links, One column no sidebar, etc. Is there a way to add more custom templates to show up ...
0
votes
0answers
93 views

Warning: printf() Too few arguments in php [closed]

I get this error on my error log [10-Jan-2013 00:31:03 UTC] PHP Warning: printf() [<a href='function.printf'>function.printf</a>]: Too few arguments in ...
12
votes
4answers
562 views

Why have <?php and ?> on every line

I've seen this convention pretty much everywhere, and, at times, it comes close to driving me nuts: <?php //The loop ?> <?php while ( have_posts() ) : the_post(); ?> <?php ...
0
votes
3answers
176 views

Getting author URL outside the loop

I am trying to get author information in my header.php. This is what I use to display the name and it works like a charm: <?php $author_id=$post->post_author; ?><?php echo ...
-1
votes
1answer
702 views

Replace #site-title with resizable image in Twenty Twelve? [closed]

I've been wracking my brain with this all afternoon. I successfully replaced #site-title with an image using CSS, and it looks fine when browsing on a desktop, but i'd like to have the entire site be ...
-2
votes
2answers
29 views

Is there any reason that other theme elements (such as nav menus) shouldn't be within the loop?

Just wondering if there's anything particularly wrong with putting theme elements like navigation menus, or even footer content or anything else that is going to be the same on every page inside the ...
1
vote
1answer
92 views

How do themes render caption texts in extended markup (e.g. “wp-caption” paragraphs)

I've created my own theme based on a very lean template. My theme is not parsing the [caption]...[/caption] markup to the correct html. It's just showing the text without any markup around it. Here ...
0
votes
1answer
153 views

How to call custom category field data in theme?

I am trying to add two custom fields to my categories (which I have done thanks to this answer - Any examples of adding custom fields to the category editor?) And now I need to call them within my ...
0
votes
0answers
95 views

Parse error: syntax error, unexpected T_FUNCTION [closed]

Not sure why this code is returning a syntax error. Can somebody point out the mistake? <?php if ( function_exists( 'add_theme_support' ) ) { add_theme_support( 'post-thumbnails' ); }; if( ...
5
votes
2answers
565 views

What are the advantages and disadvantages of Option Tree over the Customization API?

I'm relatively new to WordPress theme development, and I had to create a theme with options available. I did a Google search to see what are the possibilities, and I read articles about such, and read ...
-1
votes
1answer
26 views

wordpress page as website

I have a website related to information about local info / businesses in certain city and I would to offer business owners in that city a 'one page website'. Their 1 page website is basically using my ...
1
vote
2answers
72 views

Retrieve the template directory URI via global or get_template_directory_uri() every time?

One Wordpress function I happen to use frequently is get_template_directory_uri(). While I tried to minimize or avoid its use where I can, I still happen to have more than one call to this function in ...
-2
votes
1answer
28 views

How can i display a 4 diferent themplate for the archive page

How can i display 4 diferent themes for an archive page When i click on the right in corner i want to display another theme, another Css style (my own) Something like this. ...
-2
votes
1answer
50 views

Best company to buy different Wordpress themes [closed]

I feel like every Wordpress theme is the same. Some are better than others, but there just isn't much variation. I was looking into redesigning my site but thought I'd look through Wordpress themes ...
0
votes
0answers
13 views

Widget for Sitewide Editable Content? [duplicate]

Possible Duplicate: Add New Footer Widget Area with Limited Options? I have a banner and a footer that I need to be editable, but I'm not sure if a widget is the best way to accomplish ...
-1
votes
1answer
110 views

Hidden page wp-admin [closed]

I have now updated the code and added this remove_submenu_page( $menu_slug, $submenu_slug ) function so the page can be accessed even when hidden. function ccms_developer_theme_menu() { ...
0
votes
2answers
76 views

WordPress settings API error when checkbox unchecked

I am trying to creating some custom options for a template I am developing but I am getting an error when the checkbox (Line 130) is unchecked: Warning: Illegal string offset 'show_admin_dev' in ...
2
votes
2answers
131 views

Wysiwyg editor for P2 theme

I really would like a nice frontside wysiwyg-editor for the P2 theme. Preferable a light one with only the most basic controls. Tried front-end-editor but not to fond of it´s looks and UX. Plain and ...

1 3 4 5 6 7 26