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

learn more… | top users | synonyms

0
votes
0answers
7 views

Displaying post form catagory saved in array

I am using option tree framework plugin.In my option, the catagory id is saved in array. The var_dump is as follows $tmq_social_items = ot_get_option( 'tmq_social_items' ); ...
0
votes
0answers
26 views

Add a sidebar for menu item?

I want to modify the WordPress navigation menu. I have added a custom checkbox in the menu items custommenu. If that is enabled, then I want to remove the submenu items for that item and include a ...
0
votes
1answer
13 views

Taxonomy-$taxonomy-$term not working

This question might seem very simple, but I cannot find a proper answer for it. In my example I should have multiple pages that should display 'FAQ'. For that I have added custom taxonomy page_type ...
0
votes
1answer
17 views

Having Issue on Getting Metabox Checkbox Value

I have a Custom Post Type with two Metabox attached as: $offerPrice = isset( $productValuesl['offer_box'] ) ? esc_attr( $productValuesl['offer_box'][0] ) : ''; $offer = isset( ...
0
votes
0answers
7 views

Wordpress select adding an extra post

I have this script that is supposed to pull all of the posts with the same category id as the page titles name. So if the page titles name is "non-profit" it pulls all the posts with the category ...
-2
votes
0answers
10 views

Looking for a theme similar to this? [closed]

I need a theme similar to this site. At the least, a slidehow plugin similar to that one that I can embed that slides without buttons or arrows
0
votes
1answer
13 views

Wordpress Custom Search By Alphabet and order by asc and sesc

I am new to word-press but i can easily work on core php and other mvc framework,acutally i want to add custom search for only subcategory post. The search will with below Search post By old to new ...
0
votes
1answer
67 views
+50

Custom entity search and display

I am developing a custom plugin that adds a new product entity with its own tables to the database. I would like to perform custom queries on those products through a custom search form -the classic ...
-1
votes
0answers
12 views

Plugin Css and Js files not working on my custom theme [closed]

Hi i developed own wordpress theme. But i have problem my theme don't show css and js files of plugins which are i used on my blog. What and how i can do something for all plugins automaticly works ...
0
votes
0answers
29 views

Category Page showing all posts

I created a menu for my categories. (Some links have sub menus). I added this to the top of my index.php page <?php wp_nav_menu(array('theme_location' => 'lib-menu', 'container_class' => ...
0
votes
1answer
6 views

get_theme_mod returning no output

I can't work out why this isn't displaying anything. The option appears in the appearance - customise menu, I input my settings and display using:- <?php get_theme_mod( 'twitter' ); ?> <?php ...
0
votes
0answers
10 views

is it possible to get update link of a theme or plug-in?

I have a custom theme that I developed. I would like to show a admin notice to user who can manage wp. via function cyn_admin_notice(){ $info['last_update'] = ...
0
votes
0answers
16 views

Problem with get-pages and custom template

I build a one page wordpress theme and i use get-pages to load all pages in front-pages.php , but i can't load pages with custom Template . this is my code in front-page.php $pages = ...
0
votes
0answers
8 views

Visual Composer Front end editing - How do i redirect to a thank you page upon post save/publish? [closed]

I'm using visual composer as a front-end submission editor. How do i redirect my users to a custom thank you page when they submit/save their entry?
0
votes
1answer
19 views

Get-pages can't load pages with custom post types

I build a one page wordpress theme and i use get-pages to load all pages in front-pages.php , but i can't load pages with custom post type . this is my code in front-page.php : $pages = ...
0
votes
0answers
19 views

Best way to access variables in template markup

I am making my own mini OOP wrapper for working with wordpress themes. I have a main $settings variable that contains all of the information like definitions, scripts, menus etc.. I then pass this ...
4
votes
1answer
71 views

Getting instance variable in scope of 'wp_enqueue_scripts'

I need a little help getting my head around passing instance variable to a hook. I am reading the CSS files I need in my template dynamically and storing them in a $settings object that I am keeping ...
0
votes
1answer
19 views

wp_nav_menu work in functions.php but not in the theme

I use wp_nav_menu with this code in functions.php: register_nav_menus( array( 'sidebar_menu' => 'Sidebar menu', 'topmenu' => 'topmenu', ) ); $args = array( 'theme_location' => ...
-2
votes
1answer
37 views

Should I create a child theme for a parent custom theme? [closed]

I am going to create a mobile version of a desktop theme. Device Theme Switcher plugin will use a correct theme based on the client device. The desktop theme is a custom theme. So should I create a ...
0
votes
1answer
23 views

Managing wordpress onepage menu [closed]

I am creating a onepage wordpress theme , and i have no idea about managing menus in one page themes (menu to jumping to sections with hachtag) . any idea ??
0
votes
1answer
20 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
20 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
1answer
31 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
28 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
29 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
22 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
36 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
17 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
2answers
51 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
31 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
35 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
22 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
16 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
41 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
51 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
25 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
22 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
19 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 ...
0
votes
1answer
18 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
19 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
42 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
46 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
31 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
23 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
94 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 ...