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

learn more… | top users | synonyms

0
votes
0answers
9 views

Optiontree Default Setting Not loadded on the first time Theme Activation

Optiontree Default Setting Not loaded on the first time Theme Activation I have to manually go to theme options and click on "reset default button" to load all optiontree default settings. I have ...
0
votes
1answer
18 views

How add built-in textarea in theme development?

How can I add built-in textarea instead simple textarea in Wordpress v4 like when I hit Post -> Add new in theme development? I need to add it to theme options page ...
0
votes
1answer
11 views

How To Customise WordPress Comment Submit Button?

I am trying to customise the output code of <?php comment_form(); ?> At the moment the submit button outputs the following: <p class="form-submit"> <input name="submit" ...
0
votes
0answers
10 views

unzip a folder on specific location and delete the zip file

After the lots of search. I am deciding to post my question here. Basically i want to upload a zip file in my wordpress site from my admin panel. And also extract this file to specific location with ...
-2
votes
0answers
23 views

Link between Home.php and index.php [duplicate]

I have home.php which include a big picture and description of my website. and a index.php that will be the blog page that show all the posts. This is my theme folder /themes/mytheme/ index.php ...
0
votes
1answer
6 views

Automatically Add Caption Shortcode to Image with Caption Field Filled In

I am hoping to be able to have the [caption] shortcode automatically get inserted into the post content area when you add in an image that has the caption field filled in. I believe this is supposed ...
0
votes
1answer
10 views

Adding a space between next and previous post links

i've been struggling with this for a while but i can't seem to make it work.So i wanna add a space between my next and pervious post link right now it looks like this : Here's a pastebin of my ...
0
votes
1answer
16 views

How to add next height number in Order Attributes inside the Add new page. [duplicate]

By default, when a new page is added it will be given the next highest number not already assigned to a page.
0
votes
0answers
24 views

Why does the wordpress theme that I edited always rollback to its original version?

This is so weird to me. I'm using wordpress 4.1.1 and GeneratePress theme. I want to change something like header font size and footer content. So, I edited files: ...
-2
votes
1answer
25 views

How to load custom php file in Wordpress themes

I'm just created a website using wordpress and a custom theme for it. This is my theme directory /themes/customtheme/ -index.php -header.php -footer.php -blog.php .... The index.php includes ...
0
votes
1answer
23 views

Theme not showing up

I'm creating a custom theme on a local install on WordPress on Ubuntu. The theme is a separate directory within /themes/ and has both index.html and style.css. It works on other installs. I have made ...
0
votes
0answers
14 views

How do I filter out certain posts from the loop while keeping total number of posts displayed the same?

I'm building a theme where a number of posts would be featured above the cut, while the rest of them would be displayed below. It's fairly easy to filter out the featured posts from the loop - I ...
0
votes
0answers
11 views

How to get value from listbox in TinyMCE

I want to get the value in the listbox but it always return text value (Yes/No instead of True/False). This is my code: onclick: function () { ed.windowManager.open({ title: 'A Grid based ...
2
votes
2answers
84 views

Displaying Widgets

During theme development, I understand how to create basic widgets within the functions.php file. However, when it comes to displaying the widget within a theme, is there a preferred way to display ...
0
votes
1answer
54 views

Pagination fuction in shortcode always displays on top

Pagination function in shortcode always displayed on the top. Please have a look on below code /*-------------------------------------------------------------------------*/ /* Custom Pagination */ ...
0
votes
0answers
17 views

How to make search for posts using get method?

So I am building a WordPress theme for myself to meet my needs, so what I am looking for now is make a search using a get method in PHP. If my URL is something like this : ...
0
votes
1answer
21 views

Next post in category

i tried to make my previous/next to move only for one category,but i can't seen to make it work... http://pastebin.com/kDECBeKE this is a pastebin of my template-tags.php where i have my ...
0
votes
1answer
25 views

How to get DB options format without saving? [closed]

Using Unyson framework. I am getting theme options form data saved to a file. Was able to do that via ajax and JSON.stringify(form values in json format) problem I have is that the form data ...
0
votes
0answers
12 views

Advanced Custom Fields - Render Checkboxes which are unchecked [closed]

I am creating a pricing page with a list of benefits using the checkboxes in the Advanced Custom Fields plugin. I have managed to add the checked boxes to render, but wonder if there is functionality ...
0
votes
1answer
16 views

Next/Previous post navigation

Hey guys i want to make my next and previous links to work just for a category not all of them togheter,so when you get on the last post from that category to stop,right now it's still going in ...
0
votes
0answers
29 views

Multiple adsense ads in single post [closed]

I'm using following code to insert ad into my WordPress blog posts. As shown in image, i guess i cant post code here This shows ad usually after 8th para. Any idea how can I edit this to also show ...
0
votes
0answers
15 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
21 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
15 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
9 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
18 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
0answers
27 views

Wordpress shortcode plugin doesnt work in some themes [closed]

I have decided that I HATE Stackexchange so goodbye. I can't imagine a less helpful place for a developer to go to get answers to questions from fellow developers. Here is my edit. I have a plugin ...
0
votes
1answer
30 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
27 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
40 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
45 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
12 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
54 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
18 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
27 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
11 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
22 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
36 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
44 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
36 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
24 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
48 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
19 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
23 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
21 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
20 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
23 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 ...