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

learn more… | top users | synonyms

0
votes
0answers
18 views

Acf post object problem

I am creating a job portal website in wordpress i am using acf and custom ui for custom fields i created custom field with post object for custom post type when the job seeker add a application the ...
0
votes
0answers
28 views

working with wordpress theme

I am trying to create a wordpress theme, actually I am very new to wrodpress theme and plugin and currently learning wordpress theme, so I have a html design with me and I am trying to convert it to ...
0
votes
0answers
37 views

Override parent theme files in subdirectory

How do I tell wordpress to use the child theme's version of a file rather than the parent's version? I found online that the following line should be added to my child theme's functions.php file, but ...
0
votes
2answers
44 views

Enqueued Stylesheets Effecting Admin Styles

I'm building a custom theme for a client and I've been adding stylesheets incorrectly for a while, so I decided to do it the correct way :-). However, when I add the stylesheet to my functions.php ...
0
votes
0answers
9 views

Wordpress image selector in theme

I'm new to wordpress theme developing, I'll be happy if I could use your help. I'm trying to simulate the post thumbnail metabox content in my theme. I need the ability to upload and choose images ...
0
votes
0answers
43 views

Editable screenshot.png in a custom theme developed

is it possible to make the screenshot.png editable via theme options or customizer? What I'm trying to achieve here is to allow my client the ability to change the theme screenshot image when they ...
0
votes
3answers
49 views

Right procedure when you develop a WP Website for a client

i don't know if this procedure could be incorrect while you develop a WP website for a client, but i worked like this for years: create a database and sub-domain on my server install Wordpress and ...
0
votes
3answers
102 views

What does “Do not deregister the jquery script in the administration area” mean?

We all know the advantage of using cdn caching etc.. For that sake i deregistered the script and registered jquery with cdn link . But the problem is that it is showing error like this Yes Debugging ...
0
votes
0answers
37 views

Featured images same height

I have a theme (called Origin) from Elegant Themes. I'm using a child theme. I need to programmatically have all the featured images set to the same height for the home page. I can do this in CSS but ...
0
votes
0answers
41 views

strpos() expects parameter 1 to be string Error showing only in customizer

Whenever I go to customizer and from front page go to other pages(ex - right sidebar page), at the bottom of the page I get this error - Warning: strpos() expects parameter 1 to be string, object ...
0
votes
0answers
24 views

Is it necessary to add function.php into index.php

i am new to wordpress.. I want to add 3 different js files in index.php for this ..i have following code function.php <?php function addjs() { $dir = get_template_directory_uri(); ...
0
votes
0answers
33 views

How to create multiple pages in a client theme?

How do you go about creating multiple pages in a single theme? Say a clients existing website is just a non wordpress site, using multiple HTML pages and a single CSS stylesheet. You have a homepage ...
0
votes
1answer
25 views

Short code not working in boostrap modal dont no why?

I am trying to put a pluign into a short code it works on the page but when i try to insert it into a modal popup it doesnt render correct at all. <div id="thanks" class="modal fade" tabindex="-1" ...
0
votes
1answer
21 views

How to add pages in wordpress using codes?

I am trying to add wordpress pages using codes on theme activation. But the main problem is i cannot check whether the page with that particular slugs exist or not. Our code looks like this : ...
0
votes
1answer
71 views

Extracting Distance from FacetWP Proximity Function to Display in Wordpress Template

I am quite new to Wordpress & Php coding in general, I have a relatively simple theme that I have been working with that contains a custom post type that stores latitude and longitude. Each post ...
0
votes
0answers
8 views

Jquery Not Processing file when in wordpress template file

I am stil having issues with my code the file is not being processed when permalinks are set to anything other than default.I have created my own custom theme so trying to get a bog standard jquery ...
0
votes
0answers
23 views

How do i submit mail without redirection to another file

I am using Bootstrap to add a dialog modal to my page using the following code. <!-- Modal --> <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" ...
0
votes
0answers
12 views

How can i best give users a list of merge codes to select

I am using the following code to parse an email and its working a treat so it is <?php //lets get the redem voucher email that will go to both the user and the admin. $replacements = array( ...
0
votes
1answer
30 views

Trying send mail from Theme page

I am trying tos end a mail and parse its contents using WP_Mail but the email is not sending im just not getting error message on the page. Can someone tell me if their is something wrong with my ...
0
votes
1answer
14 views

How to add script properly for certain post?

Manytime i want to add script inside tag in wordpress. Lets say i want to show charts.js in author php ,category php file but not in other file like in index.php single.php What i do now is check ...
0
votes
0answers
25 views

WP_Filesystem error while checking with Theme Check plugin

I am having a problem solving an issue with WP_Filesystem. An error message occurs while checking with the Theme Check plugin: WARNING: file_get_contents was found in the file theme-options.php ...
0
votes
0answers
16 views

Creating a geo-region Homepage and having Cookie Options

We have a website and we would like to have a feature similar to the HuffPost website. The website shows if the user went to switch to that regional edition and keep the cookie that when they go to ...
0
votes
1answer
60 views

Add caption functionality to custom WordPress theme

Hi I am working from a custom theme created by my predecessor and I am trying to add caption functionality to the theme but I am have some trouble with it. Presently if I insert a image into a post ...
0
votes
0answers
26 views

How to remove plugin install notice from non-admin users in Wordpress?

Recently I installed accesspress store theme and noticed that almost every non-admin users getting a notification regarding installing some plugins related to that theme. Since I don't want to install ...
0
votes
0answers
13 views

Menu dispareing when visit current page

When i use the following to produce a menu in wordpress theme that im constructing each page I visits its removing its link from the menu but I have just used the following. <?php ...
0
votes
1answer
72 views

the 'proper' way to include/require php files in wordpress

I'm a new WP dev and recently I've been having problems (on multiple sites) with include[_once] and require[_once] for PHP files. If I include (get_theme_directory_uri() . 'subdir/file') the specified ...
0
votes
1answer
41 views

add_theme_support using a plugin

I want to create a theme specific plugin for the opern-sourced Bootstrap Genesis theme where I can use the add_theme_support function to add or remove several mini plugins or theme modules/features ...
0
votes
2answers
26 views

Post are not showing up

The site I am working on is skinnnybantonmusic.com The Lastest News page is suppost to show the blog posts but for some reason none are showing up. (http://www.skinnybantonmusic.com/latest-news/) ...
0
votes
0answers
18 views

Merge Codes using redux framework

I am trying to use the redux frame work for my options panel in a theme i have seen some theme optiosn supply a mail merge style button to include fields to be inserted into text area Ie I want to ...
1
vote
2answers
27 views

Default string not appearing want to translate

I am trying to make my theme translatable so I am using the following command to output text. But its just returning an empty value some reason? No error is displayed <?php __('PLAYER POINTS AT A ...
0
votes
1answer
42 views

How do child themes work?

I was creating a wordpress theme based on Twenty Fifteen and then someone suggested me to use a child theme instead. What's the biggest difference? I've heart both parent and child themes ...
0
votes
1answer
21 views

Pagination adds product to cart Woo-Commerce

In my WordPress Woo-Commerce theme when a product is added to cart from shop page its added into the cart with a url e.g /shop/page/3/?add-to-cart=149 and when I switch to another page using ...
0
votes
2answers
44 views

Different themes on one site

I'm correctly developing my own theme and so far I got: index, header, footer, functions and style files. The list will go on as I'm progressing with my theme. But I'm considering to use more than one ...
0
votes
1answer
51 views

Which method is faster to get a single post?

If I want to get only a single post with the featured thumbnail. Which of the function is better to use (for the performance) get_post or WP_Query?
0
votes
1answer
24 views

How to share posts (and plugins) between existing site and new, separate dev/test installation?

A client has an existing WP installation. I want to setup a dev/preview site that pulls same page/post content as existing site (and has same active plugins and settings), and I don't want the ...
0
votes
1answer
90 views

Update Data parameter of a wp_localize_script() call

I'm working on a child theme, In my-page-template.php I have : //... $current_key= 5; //calculated result wp_localize_script('my_js', 'ajaxload', array('post_id' => $current_key)); In my_js.js ...
0
votes
0answers
16 views

A post with a clear:both in its css destroy the theme design, and the sidebar is moved to the bottom

Everything was working well, but somebody wrote a post with the following inside: <iframe blablabla (a video) </iframe> <div style="clear: both; height: 3px; width: ...
0
votes
1answer
48 views

Code for creating three vertical columns in Wordpress Bootstrap theme

I am trying to make Wordpress theme with bootstrap 3.x. This is my first theme and I am experimenting with Wordpress and bootstrap various features. I would like to use Wordpress sticky post feature ...
0
votes
1answer
10 views

WordPress Customization API overwrite LESS variable

I am fairly new to WordPress Developing. Currently I am developing my own theme and would like to add css LESS. Don't think this is a problem ? I was wandering if it is possible to overwrite LESS ...
-2
votes
1answer
34 views

stylesheet not loading for mobile version for any theme

I am developing a blog theme . When I browsed my theme on mobile i saw that there was no any styling. Then I switched theme to 'twenty fifteen'. Again there was not any styling.
0
votes
1answer
53 views

Custom post type with custom taxonomy permalinks

I've looked around but can't find a decent solution. I have a custom post type that adds businesses. In the loop it will list all by default but I want to be able to attach an event category to ...
1
vote
2answers
44 views

index.php is not loaded for single posts

I'm using the following code at the top of my index.php page in my theme and it never hits the is_single() code even on single posts. if ( have_posts() ) { echo "****************we have posts"; ...
0
votes
2answers
137 views

after_setup_theme, global variable and Theme Customizer

I am using a global variable that is defining in a function runs in after_setup_theme. This variable is not getting update changes in Theme Customizer. Let me explain this with an example: ...
0
votes
2answers
29 views

How does the loop know which post to view?

I think I have understood most of how to create my own themes but this one thing: How can a loop in say page.php know which page to view when it loops through all the pages on my site? If I load one ...
0
votes
0answers
22 views

Get parent item using Walker function

When using the Walker function I found out that the $item parameter contains the properties current_item_ancestor and current_item_parent but both are empty in all cases no matter if its a menu or a ...
0
votes
1answer
80 views

Fatal error: Call to undefined function get_header()

Hello WordPress Developers, I got this erros messages when I check my site like below mysite.com/wp-content/themes/mythemes When I visite that url, it give me this message Fatal error: Call to ...
0
votes
1answer
56 views

Define PHP variable from a seperate API if statement

I am trying to put together a function that will echo certain text based on a range of numbers. One of number(s) I am trying to compare against is echoed in my template as such -- <?php if ( ...
1
vote
1answer
134 views

Reasons why all thumbnail sizes aren't working

The situation: I have both a development environment and a production environment of a website. Both are identical. The issue: On the production site, all post thumbnails show the full image ...
1
vote
1answer
70 views

Set a static front-page as a landing page programmatically

I am in process to create my first wordpress theme with underscores.me skeleton, the theme i would like to create its a business theme so when my theme is activated to land directly to a static ...
0
votes
1answer
63 views

Add the title of a widget as an ID - for anchor links

I'm currently building a WordPress theme where my page consists of widgets. One widget is a part of the page. I'd like to be able to use anchor links with them, and to do this, I would like to output ...