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

learn more… | top users | synonyms

0
votes
0answers
54 views

Primary Menu Showing All Pages With No Sub-Nav

Developing my own theme and I don't understand why my primary menu is listing all of my pages on a parent level, when I want only 5 parent pages as my menu with each having child pages in sub-nav that ...
0
votes
0answers
46 views

Search form to find custom meta box generated data

I have developed an inner theme plugin, which is a custom meta box that inserts some typed in text to the database and then displays in the application. I followed the example found at this link. Now ...
0
votes
1answer
41 views

get_theme_mod not pulling css colors into header using wp_head

I've had an issue with the theme customizer. On this page http://codex.wordpress.org/Theme_Customization_API you can go to: Part 2: Generating Live CSS And you'll see a way to fetch the settings ...
1
vote
1answer
26 views

Why is the Page Template dropdown menu using the wrong file name?

This is strange. I have a file, page_market.php, that is named "Market Main Page". It WAS being used when I chose that page template, but now it is not working at all. Instead, it looks like I'm ...
-1
votes
1answer
26 views

How to work email subscribe in WordPress?

There are many website those are using new WordPress theme as email subscribe option, like the below image http://postimg.org/image/6kh8b1wfb/ and I wish I will add this subscribe option in my ...
0
votes
1answer
82 views

How to Get Current Custom Post Type Associated Taxonomy Term

I have a single.php file like below <?php get_header(); ?> <?php if ( have_posts() ) { while ( have_posts() ) { the_post(); echo '<div">'; ...
0
votes
0answers
30 views

Why Wordpress gets old templates code instead of the last updated ones

I recently finished building my WP theme (child theme of twentyfifteen). My friend started updating content and accidentally added content to a page which don't have a function that gets and displays ...
0
votes
0answers
6 views

How do I default the widgets in my dynamic sidebars? [duplicate]

Similar to a previous question that was not technically answered: I have a custom theme with dynamic sidebars and custom widgets. I would like to set what widgets are in those sidebars by default. ...
2
votes
1answer
59 views

Create self-populating menu and add extra divs to the menu layout

What I'm trying to achieve: A menu with one level of sub-menus: PAGE 1<br> --- Page 1 sub-page 1<br> --- Page 1 sub-page 2<br> PAGE 2<br> --- Page 2 sub-page 1<br> --- ...
0
votes
1answer
80 views

How to Display a Plugin function (content) on frontpage using index.php

Slightly Advanced Noob Alert: {Sorry}. I'm designing a WordPress Site {No Active Yet}. I have a plugin [feelbox], but currently it displays only on the single post page. There is no option in the ...
0
votes
0answers
22 views

Add class to links inside widget

So I'm working on a theme and I'm using Ian Lunn's collection of css hover effects. Currently I'm adding the classes I want through the dashboard (appearance>menus) which adds the class to the li that ...
1
vote
1answer
58 views

Permanently activate WordPress theme

It it possible to permanently activate a theme so that it cannot be disabled or changed? Something similar to: define( 'WP_DEFAULT_THEME', 'apollo' );
0
votes
0answers
22 views

What is the most effective way to share assets / templates between themes?

I have a multisite network, which uses a few different themes. These themes share a lot of the same layout and structure, but they differ mainly by organization / content / templates. In other ...
0
votes
0answers
38 views

Improve my timetable's code

I'm working on a wordpress theme and creating a time table who will be easy to complete by users. In the back-office, there are a checkbox for each days : <input id="checkbox1" ...
2
votes
1answer
24 views

Is there a way to activate different theme for specified users? [closed]

I'm looking to allow beta testing of a theme on WordPress site in production. I was thinking of a plugin to check if WordPress user has been selected for beta phase, and if this evaluates to true ...
0
votes
0answers
22 views

Trouble adding arbitrary menu items to Walker_Nav_Menu

I am trying to manually add two items to my menu because I want them to be (linked) images, and I don't believe there's a way to do that without some custom code. Going off the instructions in This ...
0
votes
1answer
33 views

Duplicate WordPress site to subdirectory but use same db?

I have tried to just copy the whole root folder into a subdirectory. I understand the .htaccess file has to be changed. But can't get it to work right. Is it something more than changing the htaccess ...
0
votes
1answer
50 views

Create theme for mobile phones and tablets only?

I've been checking the docs but I only found a way to use different style sheet for phones and tablets. Is there a way to create another different theme only for mobile phones and tablets? And I'm ...
0
votes
1answer
59 views

Can I have a widget and sidebars in custom theme?

Wordpress 4.1.1: simular problem to another question: I have a add_action widgets_init call back in which I have a call to register_widget that registers a class and a call to register_sidebar that ...
0
votes
1answer
30 views

erase post excerpt limitation [×]

i have a custom site in homepage have problem of post excerpt with max 35 word, now i want eliminate this limitation, after search in varius file the limitation and after individuate i have changed ...
0
votes
1answer
54 views

Recent post in the middle of the content

My site has a static front page and a blog. I'm using the Foundation5 grid and I've split the content of the homepage onto three rows, like this, and I'm updating both the content and the html in the ...
0
votes
2answers
26 views

How to prepare the HTML for Wordpress [closed]

Right now I'm finishing a design in Photoshop and I'm about to turn it to HTML. After that I'm want to turn it into a Wordpress theme using Underscores starter theme. How can I prepare the HTML so the ...
2
votes
1answer
60 views

get_option function

I'm currently trying to make my own theme, but i'm not quite sure how the get_option() function works, because how come this.. echo get_option('show_header', 'sultenhest_theme_display_options'); echo ...
0
votes
1answer
23 views

Avoid theme updates, just one theme

I stupidly created a ton of websites with custom themes (not child themes, 100% custom) and named my theme folder "custom". Now they are starting to auto-update and get replaced with some theme from ...
0
votes
0answers
44 views

Add crop function to media upload

I'm making my own theme and i basically copied this image upload: http://www.webmaster-source.com/2013/02/06/using-the-wordpress-3-5-media-uploader-in-your-plugin-or-theme/ ..but since its for a ...
0
votes
1answer
34 views

Excerpt for pages not showing

I am creating a simple wordpress theme and need excerpts for pages. I have tried the code from many topics some resolved on 'wordpress SO' but nothing works. Because I created the theme from scratch ...
0
votes
0answers
32 views

Customizer API way function is_customize_preview() works only in main page?

Dear wordpress developer, Thanks for create incredible API like Customizer :) but I have little problem. In customizer preview view function: is_customize_preview() when I'm in home page return true ...
0
votes
0answers
25 views

page.php is not called when I load a Page

page.php is not called when I load a Page from my theme. However if I switch to the default wp theme and reload the page (not post), then only my header and footer are displayed. I added some text ...
0
votes
2answers
38 views

How to figure out which wordpress theme a site was using?

I create 20-30 WP sites a year. Often when I am specing out what the person wants they give me an example site from the internet. We want "that" but with our look. I can create "that" but it seems ...
0
votes
1answer
24 views

Menu order of parent menu from perspective of child menu

I have developed a theme which has a parent menu and a sub-menu. It looks something like: Main menu ==> category | price | depot sub menu for category ==> tag| name | date ...
0
votes
2answers
94 views

Extract and display user infromation on an automatically created page

Is there a way to get the block of code below to extract a list of given user information as it creates the page for the new user. It creates new page for new user as supposed but I'd like it to alos ...
0
votes
2answers
58 views

Using $post->post_name in body id causing error: Trying to get property of non-object

I'm getting the following error in my debug.log: PHP Notice: Trying to get property of non-object in /my-wesbite/wp-content/themes/express/header.php on line 36 This is line 36 of header.php in my ...
0
votes
0answers
123 views

Customizer API and add_panel(). Panel doesn't show

I try to add panel to my customizer but code below doesn't work (panel don't show in customizer container). My code: add_action( 'customize_register', 'customizer_test' ); function ...
0
votes
3answers
356 views

wp_redirect() - headers already sent

I am trying to use wp_redirect() to redirect the user after successfully submitting a signup form on the page. It's not working and shows the following error: Warning: Cannot modify header ...
0
votes
0answers
19 views

Flexslider not working for my theme

I had an issue with the border of iframe which i resolved by putting the following code in the css in the custom css : frame { border: none!; important } However, when i undo the code ...
0
votes
0answers
21 views

Strange class change, sub-menu to children

I am working on a theme for Wordpress. I just uploaded my whole Wordpress installation (including the theme) to a web host so that I can test my theme public. I have added some css behaviour on the ...
0
votes
0answers
22 views

How to add large backstretch banners to pages

I would like to have banners that break up my pages, inside these banners I would like to be able to add quotes. Can anyone tell me how best to achieve this? Ideally this isn't me simply adding banner ...
0
votes
1answer
21 views

Is there a way to retrieve the calling template part?

If I include a template part within header.php like this: <?php get_template_part('templates/social-icons'); ?> Is there a way to retrieve the template name header.php within this ...
0
votes
1answer
37 views

Advantages/Disadvantages Using Theme Editor Instead of Pages

I'm working on a site and I prefer to create the site using the WordPress pages system. A co-collaborator assisting me with the site prefers to add pages using Theme Editor. My first thought what is ...
0
votes
0answers
28 views

Wordpress theme line 2 error - only on certain feeds

I am developing my own theme and I am currently running WordPress 4.1 When I browse to /feed I get errors in my browser. Chrome: This page contains the following errors: error on line 2 at ...
0
votes
1answer
27 views

Unwanted empty line at the beginning of document

I have an unwanted empty line at the beginning of the document and I can't find the reason why it is happening. For default HTML I wouldn't have minded it but RSS doesn't work. I disabled all the ...
0
votes
2answers
161 views

How to sanitize select box values in post meta?

I have added a select box in the Post meta. Here is the code, and it works fine. My question is, do I need to sanitize the values before updating the post meta? If yes, how it should be done? This is ...
1
vote
2answers
476 views

Does WordPress count as a means to learn web development? [closed]

I'm learning to make themes in WordPress, basically with CSS only. I don't feel like I'm learning actual web development (front end). I don't see how I can incorporate JS into themes, because it seems ...
0
votes
0answers
19 views

twitter widget loads properly in all themes except my own theme?

I've written my own theme for my wordpress website. The problem is that the twitter widget loads properly in all the themes except mine. Below is the attachment of the widget in both the themes - ...
0
votes
0answers
16 views

Creating a new elegant builder module?

Hi I am using elegant builder on my site and would love the ability create a new module, I basically want a text module with some custom styles applied before and after. I have contacted elegant ...
0
votes
0answers
42 views

Load a Child Theme's style.css just before the closing </head> tag

I have this in functions.php: <?php /* Import parent style - The new standard Wordpress way - No @import in CSS! */ add_action( 'wp_enqueue_scripts', 'theme_enqueue_parent_styles' ); function ...
0
votes
1answer
225 views

Magnific Popup - Add Caption to Images

My theme uses Magnific Popup as follows in theme.js /* add lightbox for blog galleries */ $(".gallery a[href$='.jpg'],.gallery a[href$='.jpeg'],.featured-item a[href$='.jpeg'],.featured-item ...
3
votes
1answer
124 views

Authentication / login mechanism (non wp-admin)

I am developing a theme. I need to have a user login system, that allows users to see all contents of the application and interact with it only after they login (not admin panel login). I need to ...
1
vote
1answer
28 views

Understanding and using metaboxes in posts

I am developing my first theme that is not dependent on a parent theme but I am running into some back-end problems. I'm trying to add a metabox to all posts that are being written. This question is ...
1
vote
1answer
15 views

Is there a way to list all actions registered by a plugin or theme?

I'd like to override a function registered using do_action() by a third party theme or plugin. remove_action() looks to be the way to do this but its not working in my particular case. Is there a way ...