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

learn more… | top users | synonyms

0
votes
1answer
6 views

Cutomize Colors utility: How to add more configurable colors to a theme

Recent Wordpress install, default theme. There are three colors which can be customized from the admin gui, but there are at least three other colors visible on the website which can't be customized ...
1
vote
1answer
23 views

Custom page template with custom fields

I need to create a page template that has an image and text with a common style. The image url must be set using a custom field (or something like it) and left aligned to the page title and content. ...
0
votes
0answers
3 views

Custom blog posts page not printing existing posts

I'm creating a custom theme that the blog posts won't appear in the front-page, but in a Blog page. I've created pages called Home and Blog, and set the Reading config to make Home my front-page and ...
0
votes
0answers
29 views

Hide Text when check box option is ticked in customizer?

How I hide the Head Text which is "Magna Aliquam" when "Hide Head Text" checkbox is checked and show when the checkbox is unchecked. Below is my code, but I'm lost. Any help would be appreciated ...
0
votes
1answer
15 views

Theme Check errors of theme code

We are receiving these errors while we check out theme using ThemeCheck. We never seen this before and note sure what they mean or how to solve them. Can anyone so kind to tell us about these and some ...
0
votes
1answer
19 views

CSS won't style output of wp_nav_menu() correctly

I'm tyring to create a theme with a horizontal menu that is dynamically streched to fill the container element. I use wp_nav_menu() to fetch a menu from the backend and style it via CSS. Here some ...
0
votes
0answers
40 views

How to retrieve sticky post with Visual Composer's loop builder?

So I have a simple custom shortcode function build under Visual Composer with vc_map. <?php /** * Blog Posts * */ if( function_exists( 'vc_map_get_attributes' ) ) { $atts = ...
0
votes
1answer
26 views

How can I display and excerpt of all pages with a meta_key and meta_value on index.php?

I need to create some pages with a custom field called categoria-pagina so I can display a list of these pages and their excerpt on my theme's index.php. I have already tried the code bellow, but if I ...
2
votes
1answer
43 views

Don't understand why theming is so strange and twisted [closed]

What I'm asking you here is not a technical question, but more a philosophical one. I firstly started developing themes for a small new cms that I also contributed on github that has a great ...
1
vote
1answer
24 views

max_input_vars: how many am I using?

I'm processing a large amount of Options in a Wordpress theme. I want to ensure I keep below the default 1000 before hitting a max_input_vars error. Is there a way to test how many 'input_vars' I'm ...
0
votes
0answers
25 views

Is there a hack for using is_page() within the function.php file?

I've created a function in my functions.php that's called when the submit_form event is fired on the front-end. Here is the code: add_action( "wp_ajax_nopriv_submit_form", "submit_my_form" ); ...
0
votes
1answer
73 views

Theme check: Missing a text-domain

I'm using following code to display the number of comments: printf(_n('1 comment', '%1$s comments', get_comments_number()), number_format_i18n( get_comments_number() ), 'text-domain' ); Is there ...
0
votes
0answers
12 views

How to upload theme: Option Tree WordPress Theme Check Error

I am having a little problem uploading my theme to wordpress as the initial theme check fails with the below error.. I have integrated Option Tree into my team. But WordPress doesn't accept until the ...
0
votes
0answers
31 views

Theme Customizer : how to create multiple-level panel

Is there a way to create deep-level sub Panel in Theme Customizer(like roots of plants) ? My theme that I have been developing seem to be more complicated. I think that if we can create deep-level sub ...
0
votes
0answers
19 views

Best practice in version controlling (git) a whole wp site [closed]

What is the best practice in version controlling a whole wp site, template files, plugins and Page contents? We are using these theme framework: Roots / sage Underscores Genesis I am also ...
0
votes
0answers
5 views

Auto update self hosted theme – always create “download” directory

I use this plugin to auto update my theme: https://github.com/jeremyclark13/automatic-theme-plugin-update Everything works but always in update process was deleted my old theme and created updated ...
0
votes
0answers
11 views

How to list the scripts and styles enqueued for a certain page?

How do I get all the scripts and styles used on a certain WordPress page. I would like to see the following, Name of script/style URL to script/style Version of script/style And if a certain script ...
0
votes
2answers
31 views

Create fixed static pages

I have inside a theme two important static pages. One is a confirmation page (after signing up for a newsletter) and the other one is a thank-you page. I am using these in various functions and ...
0
votes
0answers
35 views

Woocomerce adding items to cart from a share cart url? [closed]

I think I need help in here, Im not really sure if I need to set the session manually or it will set automatically while adding items to woocommerce cart, lets consider the following: ...
0
votes
0answers
11 views

How to separate website pages from the home page and make custom?

I have installed a theme on my wordpress and published some new links to my navigation. Until now i have my main "home page" customized and i want to costomize the next page "our products". But all my ...
1
vote
1answer
22 views

Wordpress custom taxonomy check box to dropdown

Hi my custom taxonomy name is country.In this A is a country, a-sub1,a-sub2 are states under A. b-sub1,b-sub2 are state under Country B. Now i need to display the country list(parent) box and state ...
0
votes
0answers
10 views

Problem with updating theme. Unlogged user sees a month-old version

Currently I am developing a theme and I have a big problem with displaying its earlier version. All changes that I am doing are visible only if I am logged. In other words, visitor sees a month old ...
0
votes
1answer
15 views

Display tab title as 'blog tagline | blog title'

I am currently displaying my title liek this <?php wp_title( '|', true, 'right' ); ?> it works fine for every page besides home page where tab currently says Blog title | Blog tagline is there a ...
0
votes
0answers
23 views

How to create a “menu item” on the theme customize screen?

My question is, how do I create a menu item as seen below but on the theme's menu customize page? "Theme Menu Options" Show's up here, But it does not show up here, Here is the code I used to ...
0
votes
0answers
21 views

Where to put wp_head() when using switch_to_blog()

Where should the call to wp_head() be in my case. I'm using switch_to_blog() in order to keep one consistent header with its own widgets and menus across all multisites. If I call wp_head() in ...
0
votes
0answers
12 views

how to add recaptcha to a theme built using redux

i installed this theme(http://themeart.co/free-theme/ta-pluton/) and it works great! i need to add re-captcha field to contact from.theme option got contact form settings how to add this option to ...
0
votes
1answer
28 views

Woocommerce Product attribute not imported with wordpress Importer [closed]

I used the WordPress Importer plugin and successfully imported all content but woocommerce product attributes are not imported. Tried a few different tests, and few different servers. Same result. ...
0
votes
0answers
18 views

How do I handle styling between SASS and theme options?

I've been looking into leveraging SASS to handle styling my themes and the thought of storing various styles in variable to be used across the site is really helpful! Eg. I am able to store the ...
0
votes
1answer
28 views

double page title [duplicate]

I have my page title on the home 'My siteMy site'. and other pages as 'Page title | My siteMy site'. I have checked in the header.php file for my theme and it look okay <title><?php ...
0
votes
0answers
19 views

Image disapear in theme customization settings for zerif lite child theme

I have added theme customization settings for changing logo. I can successfully change image in theme customization. But when I change site url, it disappear from settings. I checked on site for ...
0
votes
1answer
56 views

Is the “_s” on this `sprintf(__('Page %s', '_s'), max($paged, $page))` just refer to a text domain?

Is the '_s' value in such code which can be found on Customizing with the filter, just refer to a string of a text domain as what's documented or a literal value? /** * Filters wp_title to print a ...
-3
votes
1answer
51 views

I'm new in developing responsive Wordpress Theme, so which framework to use or work from scratch? [closed]

I'm totally new in developing responsive Wordpress Theme sector. But fortunately, I've heard of Frameworks like: Underscore, child-themes, Genesis !! What speciality each Framework has? I'm much ...
-2
votes
0answers
16 views

Which is a good Front-end Web Design framework to start developing a Responsive Wordpress Theme in short time? [duplicate]

my Question is plain & simple, but I need experts opinion-- I'm new in developing Wordpress Themes, especially in Responsive Design, I've heard of child themes, genesis theme frameworks, but not ...
0
votes
0answers
14 views

Child Theme Upstream

I have a parent and child theme set-up, and I have created a "starter" child theme to kickstart development. All are hosted in Bitbucket. When I start a new project I fork the "starter" child theme. ...
1
vote
0answers
16 views

How to disable wordpress from overload my stylesheet styles with customizer styles

I realized that, the customizer's styles are default highest priority because they are somewhat embedded into the page. I want to store ALL styles in my .scss file which using SASS to manage CSS and ...
2
votes
1answer
24 views

Adding a text domain to every __(), _e() and __n() gettext call without a plan to create own translations

Is it good to add a text domain as an argument to every __(), _e() and __n() gettext call such like these, even though I'm not planing to create my own translations? __( 'Post', 'my-theme' ); _e( ...
-1
votes
3answers
96 views

Next Post Link not working with parameters to restrict to same term

I am using next_post_link() , and I want to use the parameters shown in the documentation to restrict it to go to the next post with the same term for a custom taxonomy called "years". The line I am ...
0
votes
0answers
27 views

Not Able to edit wordpre page post or services after updating 4.2.4

I have updated my wordpresss 4.1 to 4.2.4 and my site works fine but when i edit any page or post nothing works. only page as image comes. i have tried deactivating all theme and plugin but that ...
0
votes
0answers
12 views

Listing related taxonomies

I have two custom taxonomies: "Language" and "Technology". When viewing the archive page for posts that are in a particular "Language" I would like to display all the "Technologies" that these posts ...
0
votes
0answers
15 views

Limiting character limit in menu

I am attempting to limit the character number when using the Walker_Nav_Menu class for WordPress with Foundation. I can get it limit the menu item character length universally however I want it to ...
0
votes
0answers
23 views

Get Previous & Next Attachment Links (With Thumbnails)

I'm building a theme that explicitly displays an attachment on a single page (not using attachment.php at this time, but the idea is the same). I have the 'attachment_id' value, and the attachment ...
1
vote
2answers
54 views

Adding items to page template dropdown on Page Edit Screen

I am developing a WP theme with MVC approach. It only have index.php, functions.php and styles.css on the parent directory. So, I do not want to place page templates on it rather then I want to ...
0
votes
0answers
12 views

Add file jquery for page template using get_page_template_slug() don't work

I have problem. I use get_page_template_slug() get slug templates after I add file js only on page template got use . But it doesn't work. Can you help me?
0
votes
1answer
35 views

Worpress permalink setting

I have a doubt. If book is my custom post type, language is my taxonomy, english is the item in taxonomy , Harrypotter is new post in book with txonomy english. Then how i get the url structure like ...
1
vote
0answers
31 views

Best practices for monitoring the need for future updates on a theme that I developed?

I recently developed a theme which has been accepted into the WordPress repository. I want to keep this updated for my users. What is the recommended way to monitor the theme's need for updates? My ...
0
votes
0answers
15 views

How to get taxonomy in grid view in bootstrap in wordpress

I was trying to get taxonomy in grid view with taxonomy image to for image I used taxonomy term image but when i get all taxonomy in taxonomy.php I am getting taxonomy but I was not able to get ...
0
votes
1answer
19 views

How to get terms for taxonomy

how to get all terms for my taxonomy customcategorie i tried with this code i tried to keep code in taxonomy.php <?php /* Template Name:Taxoo */ get_header(); ?> <?php $term = ...
1
vote
1answer
32 views

The best way to customize “nav-menu-template.php” to add <input> if the 'link_before' is “checkbox”

I would like to add a 'link_before' control for a wp_nav_menu(), like that: if ( strpos( $args->link_before, 'checkbox' ) == true ) { $args->link_before = '<input id="toggle' . ...
0
votes
1answer
15 views

Add %taxonmy in worpress custom permalink structure

In default wordpress support %category% tags in custom permalink structure. I need to use %taxonomy in permalink structure .How to do that ? is there any filter are available. Please help.
1
vote
2answers
57 views

Hide a menu-item and its submenus and display a 'Log in' link if the user is logged out

I need, somehow, to enable that when you logout, that 'My Account' item is getting hidden from the navbar, and instead it displays a 'Log in' link. The item 'My Account' also have submenus with the ...