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

learn more… | top users | synonyms

2
votes
1answer
336 views

Why is styling comments so complex?

I've been building a theme completely from scratch and after a straightforward process up to this point, I've reached the comments.php file. Again, nothing too out of the ordinary, until this: ...
0
votes
1answer
1k views

Custom theme won't use search.php

I have a custom searchform.php and search.php in my theme. However, when searching for something all I see is the front page (with mysite.com/?s=something in the adressbar). I use a filter to make ...
0
votes
1answer
61 views

Custom Theme Bootstrap

So I've made my custom theme using Bootstrap and everything is working all good and well expect from when I put it onto a tablet device. The problem I'm having is the Navbar doesn't collapse when the ...
0
votes
2answers
42 views

Checking if there is an Image inserted - if not don't display anything

So within my Customizer I have a section that controls this Slider on the Homepage - the thing the client might not want to use all the Slider Images but all the Sliders still show anyway and the ones ...
0
votes
0answers
16 views

Wordpress slider with bootstrap carousel

I have create slider for front-page with bootstrap carousel, for slider content get from featured category, problem is the slider 1st, 2nd, 3rd displayed as list. normally layered with navigation ...
0
votes
1answer
1k views

How do I implement jPanelMenu?

I have serious problems trying to implement jPanelMenu to the theme I'm building. The theme is nearly finished, I'm just trying to figure out this menu and I can finally start using it. Anyways, if ...
-1
votes
0answers
29 views

Custom Theme Admin contact-form config page won't display

I'm stuck. I'm trying to add a contact form section in my theme admin. I have added: the functions <?php /* @package volcanotheme ======================== ADMIN PAGE ...
-4
votes
0answers
20 views

i have a problem with the responsivity of my site [on hold]

i have a problem with a site i built www.hadran.co.il, the site looks good but in the phone it looks very bad. its go left and many more problem, can anybody can go to the page threw the phone and ...
0
votes
1answer
686 views

Add content after get_header

I'd like to add content directly after the div#main (end of header.php) and before /div#main (beginning of footer.php). I'm using an own child-template (of twentythirteen), that contains only ...
2
votes
3answers
344 views

Is using eval() ok in this scenario

I am trying to include user input includes using "get_template_part()" The includes are added in the theme options eg a user inputs. get_template_part('content/block', 'branding'); ...
0
votes
0answers
24 views

wp_nav_array() With A Hamburger Menu

I don't understand how the wp_nav_array works even after reading the codex thoroughly and I'm having issues with adding a menu. My html + css looks like this: <!-- Header --> <header ...
0
votes
0answers
23 views

Warning Error When Visiting My Site

When some people visit my eCommerce site, they get this error: This is what it keeps saying: Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_widgets_init' not ...
1
vote
1answer
46 views

How to get javascript slider to work!

I've only just started to develop my own themes and i'm stuck adding javascript to my slider. I've added the slider into my index.php file as below: <div class="carousel"> <div ...
0
votes
1answer
24 views

Create a variable with string, array or multiple values

I'm running some functions that will allow a user to register their own custom templates to my custom theme from an external directory. They can see these page templates in the wp-admin and they ...
-1
votes
0answers
20 views

Is there any CLI tool for plugin development? [on hold]

I have plans to build tool to speed up WordPress development by creating boilerplate code for plugin/themes. Something like set of Generate commands in Symfony2 Console component. Tool have to ...
0
votes
1answer
21 views

Integrating Orbit slider into wordpress through custom post type

I am currently working with FoundationPress, It is a great starter theme loaded with cool features. I would like to create a custom post type called "slides" which will be displayed on the homepage ...
0
votes
0answers
27 views

How to develop custom URL redirection

I'm writing a custom theme and have a custom post type which represents an external entity (e.g. a website). Hence, I have a field 'external_url' in my post type. Part of the custom post type post's ...
1
vote
2answers
578 views

How to display future posts - modified query still yields 404

I have a very strange problem and I am stuck. I want the single page to display posts with the post_status of publish and future. So I added this code to my functions.php in my theme: function ...
0
votes
0answers
25 views

How to hide default sidebar widgets?

I'd like to hide/not display all default widgets(Search, Recent Posts, Recent Comments, Archive, Categories and Meta) which are inserted into custom sidebar when the theme is installed. (Removing them ...
0
votes
2answers
2k views

Conditional tags issue for multiple is_page() conditions in sidebar.php

I've been pulling my hair out today trying to get this right. Basically I have a sidebar, which makes requests to individual files (such as sidebar-home.php, sidebar-residential.php) and different ...
0
votes
2answers
24 views

Display custom post using ID

In my theme, I have a custom post type called sliders. Here the user is allowed to upload images in a meta-box. So, the images are saved as meta data in wp_post_meta table. Now what I want to do is, ...
0
votes
0answers
14 views

Theme Customizer not loading

I have created a new theme and i use it in some of my sites (multisite) but at one site the customizer preview does not load (spinner never stops). Loading the customizer preview of other themes work ...
0
votes
0answers
24 views

Help with folder structure for MVC plugin / theme

I know similar questions have been asked many times, but I couldn't find an answer that would help me progress with my project... Here's my situation: Large part of my project is for logged users ...
3
votes
1answer
39 views

Custom Image section in Customizer

So I have this Custom Section in the Customizer that controls the Feature Products on the Home Page. There all registered and so on but the problem I'm stuck on is when the client uploads one of the ...
-2
votes
2answers
741 views

Is there a WordPress theme or plugin with built-in user management

For building a cashback site, is there a WordPress theme or plugin that offers custom user registration + 'My account' panel?
0
votes
0answers
22 views

Creating a WordPress website using WP-CLI

I really struggling to work this one out, its about WordPress / WP-CLI & BASH. Heres my script: if [ ! -f ".env" ]; then touch .env echo -n "Enter the DBNAME and press [ENTER]: " read ...
0
votes
1answer
13 views

get_posts is duplicating

I have the following code where I want to show one query with the last "post type" post and one query where I want to show the rest. Problem is that the last query is duplicating the first one. How ...
1
vote
1answer
437 views

Creating Page Based on Category

I'm using WordPress 4.0, and the Hemingway theme. I've created a custom page template which currently pull blog posts based on the category I give it. However I'm currently using ...
0
votes
0answers
19 views

Wordpress Theme & BWS Portfolio Plugin Style Messed Up

I am very new to WordPress. I made my own theme using Twitter Bootstrap. Everything works fine when it comes to posts and pages. Now I installed the BWS Portfolio plugin and when I try to go to the ...
0
votes
1answer
30 views

What is the best way to organize template parts?

I am trying to bring some order in to theme files and would like to separate templates parts. I see that underscore ( _s ) has done something similar but they moved only content templates inside , ...
0
votes
2answers
4k views

How to check if woocommerce is activated in theme

I'm creating a theme with woocommerce which has the following: <ul> <li> <?php if ( is_user_logged_in() ) { ?> <a href="<?php echo ...
0
votes
1answer
15 views

Query wp_postmeta into an array based on post_id

I know this might be a simple question but can someone explain to me how to query the WP database and pull in all the "meta_key" and "meta_value" from "post_id" into an array? I have looked at code ...
0
votes
3answers
464 views

How can I see what template parts are being called for rendering the viewable page?

I have a theme where the developer used get_tempalate_part() a lot, and these parts are scattered across theme subdirectories as well as in directories in a plugin that was created to assist with the ...
1
vote
0answers
24 views

Array Chunks and Inserting Varying HTML in WP_Query

I am trying to output the latest 5 posts from my blog. I would like each post thumbnail to populate divs in the following format. <div class="row full"> <div class="large-6 medium-6 ...
0
votes
1answer
976 views

Wrong path for theme assets

I'm working on a WordPress project, starting from Mark Jaquith's WordPress-Skeleton repository, using MAMP. I cloned the repo, updated the WordPress submodule, created a database and updated the ...
0
votes
2answers
1k views

Adding Content Areas to Custom Page Template

I am not sure how to ask this, which is why I have been having trouble finding anything via google searches. I am hoping someone here will understand what I am looking for and be able to direct me to ...
0
votes
2answers
170 views

Sort and paginate custom post taxonomies alphabetically

I need to sort and paginate custom taxonomy post types. i have a page where i have next and previous link. on clicking next and previous link next or previous brand(custom taxonomy) should load. I ...
1
vote
2answers
737 views

WP Customize refresh problem

Hi I am adding options to WP Customize. Mostly everything works, but One of my variable is not refreshed in the preview window. $wp_customize->add_setting('checkbox', array( 'capability' ...
2
votes
2answers
2k views

Get category slug and display it on a query_post

I just read "How to create option page for wordpress theme" in wp.tutsplus.com - I have a problem with getting categories . there is two parts to my question - Part A - Get category slug and ...
-1
votes
1answer
19 views

What to do when child theme is out of date with parent theme

I inherited a site with Genesis as the parent theme and a Genesis child theme. The parent theme has smoothly been upgraded over the years. The child theme, however, was based on an older version of ...
0
votes
0answers
11 views

Malformed RSS feed

I am trying to connect my site's RSS feed to Mailchimp, but my feed doesn't pass basic RSS validation (http://testrtc.com/feed). The reason for that is 3 empty lines at the beginning of the feed, ...
0
votes
1answer
33 views

Undefined index: custom_sidebars

I am implementing custom sidebars on a theme I am developing. Everything works fine when I add new custom sidebars. However, when if I remove these new added custom sidebars I get the error Undefined ...
1
vote
1answer
43 views

wp_enqueue_scripts not working in custom theme

This one may have been answered before but I could not find it anywhere. I have created a custom theme and a plugin for my site. My theme's functions.php file only contain a wp_nav_menu() function ...
1
vote
0answers
31 views

Displaying recent posts on static page with template-part via shortcode

So, I'm taking my first shot at creating my own custom Wordpress theme with Underscores. I have everything straightened out, with the exception of one last thing I want to add. I would like to add a ...
0
votes
3answers
2k views

Custom Post Type Permalink Page Not Found

I've been wasting hours and hours trying to solve a permalink issue with custom post types. It keeps returning page not found (404). When I use the default permalinks, it works, but when I switch to ...
0
votes
1answer
21 views

Pagination adds product to cart Woo-Commerce

In my WordPress Woo-Commerce theme when a product is added to cart from shop page its added into the cart with a url e.g /shop/page/3/?add-to-cart=149 and when I switch to another page using ...
0
votes
1answer
967 views

How to use WP switchEditors.switchto(this) JS function in your own script?

I have a tab switching theme that lets the user choose 3 editing modes when adding new pages (HTML and Visual- these are WP defaults and the new Syntax mode using Code Mirror). I have issues when ...
1
vote
0answers
40 views

Customizer Active Callback not working

From some reason my active_callback => 'is_front_page' is not registering and therefore not showing up inside the customizer on the front-page - I have definitely set my front page to static and ...
0
votes
1answer
1k views

How to make Isotope and Wordpress work together?

I am trying to make my Wordpress theme using Isotope plugin. http://isotope.metafizzy.co/ So far, I have such a result after doing that was suggested: I believe that Isotope Masonry should not ...
0
votes
1answer
14 views

Need help with adding custom menu content

I'm trying to install a Google AdWords snippet on a client website. It calls for replacing the business phonenumber on the page with something like <span class="number">content</span> ...