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

learn more… | top users | synonyms

-1
votes
0answers
7 views

How to select CSS from wordpress admin when i have multiple CSS

I have 4 bootstrap custom css and want to develop a feature in worpress to select which CSS to use from admin panel. Can anyone help me to achieve this ? Thanks Dinesh
0
votes
1answer
17 views

Showing ads in the specific category and its sub-categories

I would like in each category and sub-category of its own ads to be displayed. I used the in_category function but not displayed Advertising in sub-categories. Please advice.
0
votes
1answer
18 views

CSS preprocessor file messed up after compiled

I'm using LESS for WordPress theme development, but I have a bit of problem that after compiled CSS file mess up. Like this: LESS body { color: white; background-color: black; } CSS body ...
-2
votes
0answers
22 views

Separated Comment from Post

I'm designer with little knowledge of wordpress (newbie >_<) i use Worpress starter theme from : html5blank.com i want to separate COMMENT section from POST section, this still on one single.php ...
0
votes
0answers
19 views

Best way to create onepage wordpress theme [on hold]

I try to build a one page wordpress theme, and i'm Looking for the best way to make it, create sections as pages ?? Custom pages ?? Custom post types ?? What is the best practice ?? And how to load ...
0
votes
0answers
25 views

How can I add recent posts to menu like mashable

I would like create a mega menu that uses recent posts for hover state. Like When you hover a submenu you get a list of recent post relevant to that menu item like in Mashable. I I would like a menu ...
0
votes
3answers
24 views

Cant insert wrapper div into index.php

I'm having an issue inserting a wrapper div into my php index file that we're using for the front page of the site. Right now it looks like this: And it needs to look like this: I'm aware this ...
0
votes
0answers
20 views

How to add a class to edit_post_link?

My goal is obtain "Edit" button like this: <a class="post-edit-link btn btn-default" href="{$url}">Edit this</a> The first attempt I was trying adopt was adding before and after params: ...
0
votes
1answer
32 views

Wordpress get_post_meta issue

I'm new to php and was assigned some code to fix within a Wordpress theme, but I cannot figure it out for anything. The code is for the home page of a custom theme and it is supposed to pull the most ...
-1
votes
0answers
16 views

Change my code to solve my portfolio problem

In my wordpress theme currently portfolio block looks like single block like in theme http://verindus.different-themes.com/#., but i want to repeat that block for each category , remove the filters ...
0
votes
0answers
15 views

list parent li and child li separately [closed]

i have navbar that uses parent page's data attribute and search data attribute in other div as li like <div class="iamdiffer"> <ul> <li data-match="0" class=""> <a ...
0
votes
2answers
37 views

WordPress API functions not working at AJAX functions.php call

I am trying to show subcategories of a category in WordPress using AJAX: when I select a main category, there is a call to WP Ajax and the result is used in showing the subcategories. So far, I have ...
0
votes
1answer
28 views

what is do_action(); in wordpress? [duplicate]

Sorry for making duplicate Topic but it is very important to me because i don't understand this topic by looking other related topics. Actually i am in process to build a WordPress theme and i am ...
1
vote
0answers
31 views

Issue with loading mobile specific custom single page layout in mobile

Hello I am in the middle of theme development which has specific layouts for mobile, I built a custom function to detect mobile and load mobile specific layouts in mobile view ports. Here is the ...
0
votes
0answers
6 views

How to fix the warning shortcode function generated by Theme Check? [duplicate]

I searched on the internet but I still don't know how to fix it. I solved most of the the errors in WordPress Theme I am developing except for one WARNING. Please refer on complete error lines below: ...
0
votes
0answers
20 views

Retina support for theme

I am trying to add retina support for my theme and I found a good tutorial at http://code.tutsplus.com/tutorials/ensuring-your-theme-has-retina-support--wp-33430 and this code is working but I ...
0
votes
0answers
14 views

Git deployment with root discrepancy

My client is on WP-Engine. The theme I’ve developed for them is in a private Github repo. When I developed it, I set the root to the theme’s root. So my repo’s root is in wp-content/themes/my-theme ...
0
votes
1answer
37 views

What's the right way to implement functions in footer.php

I have a Wordpress website with a child-theme of 'twentyfifteen' I created. I added a PHP code that changes the footers background depending on the template displayed. This is my code part: ...
-1
votes
2answers
26 views

Image Size wrong during upload

I am currently in the middle of developing the front page for a online store. I am trying to resize the width of the image to expand it across the full width of the page, however the image will not ...
0
votes
1answer
32 views

How to integrate plugin in Wordpress theme

I have read that there are two ways for integrating a plugin on a Wordpress theme. I think the first method is the best; but I do not know exactly how to do it... After copying the plugin to the ...
0
votes
0answers
6 views

Is there any better way to reach get the options value with depth 3

This is how I am getting the option result right now: <?php $options_list = get_option( 'my_custom_fields_options', 'no value exists' ); $practice_areas = ...
0
votes
1answer
22 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
17 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
15 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
9 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
20 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
18 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
35 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
40 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
26 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
16 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
16 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
90 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
68 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
25 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
36 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
36 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
1answer
26 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
28 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
33 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
22 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
15 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
23 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
44 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
45 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
55 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
17 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 ...