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

learn more… | top users | synonyms

0
votes
1answer
14 views

captiva Theme Error

I have Install Captiva in my system local.its showing error like this Warning: POST Content-Length of 36013235 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 Are you sure you want to ...
0
votes
2answers
23 views

Question on using custom structures for categories

Im trying to create a topics "section" similar to what Justin Tadlock has on his site but i'm not sure how he is doing this. Categories? Tags? or what? I tried changing the Category base to topics as ...
0
votes
0answers
24 views

What can I use for small text when converting to Wordpress?

FYI before you mark it as duplicate: I found some similar questions, but they are from like 4 years ago and WP is constantly evolving. For repetitive chunks like this I used posts to convert an HTML ...
0
votes
0answers
14 views

Where to find this image to remove the broken link in wordpress

I have a broken link on one of my page and I am unable to find where to go to find this image and remove the broken link. Please help me out. Here is the link- ...
0
votes
1answer
54 views

Does any theme support child theme?

I'm trying to add some new functionalities to a theme and I'm using Child Theme as should be. So the theme is called u-design and I created a folder called u-design-child. Inside the folder I've ...
-1
votes
0answers
19 views

Pagination redirects to home page when logged out works perfect when logged in

I am trying to getting going with my customization of my personal wordpress blog, but i hit this problem. I have merged custom post types and list them on my home page with paging option. $paged = ...
0
votes
0answers
11 views

Steps to Theme Customization

Hey i'm new to WordPress theme development field but i'm well versed with HTML5, CSS & JS and quite ok with PHP. How should i customize the theme layout of a free theme and download it as a theme ...
0
votes
0answers
17 views

A Customizer checkbox control that sets the setting to “” or to “blank” and show() or hide() a color control

Are you familiar with the Customizer core $wp_customize->get_setting( 'header_textcolor' )? It will become available once you add_theme_support( 'custom-header' ). It have two controls, one is a ...
0
votes
1answer
46 views

how to implement wp_is_mobile on themes?

I just read the wp_is_mobile function reference and I have some questions. As you can read, there is a line explanation in bold text: It also should not be used for themes. I excactly don't know what ...
0
votes
0answers
7 views

Set the transport of the Customizer 'header_image' core setting to 'postMessage'

To activate the Customizer core section Navigation (ID: nav), you need to: add_theme_support( 'custom-header' ); I already tried to make the transport of the Customizer header_image setting ...
0
votes
0answers
20 views

Wordpress custom comments code displays blank page on comment submission

I'm developing a theme and customized the comments using code found on the Wordpress Codex. Whenever, I submit a comment, I get the wp-comments-post.php file but it's blank. The comment goes through ...
0
votes
0answers
52 views

Add search box in Bootstrap slider carousel

I'm using the Wordpress theme 'evolve' which uses a Bootstrap slider on the front page with a 'Learn More' button on it. How do I add a search box instead of the 'learn more' button which will ...
0
votes
1answer
82 views

Convert HTML5/CSS3 site to Wordpress Theme (need a lot of plugins) or just use the API?

I'm a PHP developer creating a new site with a Wordpress backend. I'm niota Wordpress expert, I've managed to make custom page types in the old site's theme and can manage plugins etc but I'm not an ...
0
votes
1answer
51 views

How to load jquery-ui in sage

I try to add jquery-ui over bower.json but does not seems to work. I get Uncaught TypeError: undefined is not a function my bower.json jquery-ui part "jquery-ui": { "main": [ ...
0
votes
1answer
30 views

worpress sub taxonomy template

please see my code structure custom post type name : product custom taxonomy associated with product : category main category inside category taxonomy :main1, main2 etc sub taxonomy inside main1 ...
0
votes
0answers
62 views

get_attached_media() returns empty array if media file already used by another post

I wish to retrieve the different PDF and ZIP files attached to a single post and display them in a specific section, outside the content, using the WP function get_attached_media(). While my code ...
2
votes
1answer
30 views

Whats the safest way to output custom JavaScript and Css code entered by the admin in the Theme Settings?

I'm creating a theme in which I've created options for the admin to enter custom Javascript and Css code in the "Theme Settings" page (created using Options API). Now I'm just not sure how to output ...
0
votes
6answers
78 views

New to WordPress - Read the Codex, Other Docs; Still Confused

I'm new to web development and WordPress. I recently installed WordPress on my site. However, that is not the WordPress page; don't get ahead of me! That page was created using Bootstrap. From my ...
0
votes
0answers
19 views

Option data is not overwritten in option table

I am new to WordPress theme customizations and I am stuck at one point: I have to create a header drag and drop option, with 3 types: Logo Logo + Search Logo + Icon The code ...
1
vote
1answer
26 views

WordPress post arrangement using post_class

I want to create post layout in the following way: +--------------------+ | 1 Full Width Post | +----------+---------+ | 2 | 3 | +--------------------+ | 4 Full Width Post | ...
-2
votes
1answer
22 views

Editing a theme

I am making a wordpress site which is already online. URL: http://eventosis.com I want to add two buttons in the header of the site. How do I go about it? I have very little programming experience.The ...
0
votes
2answers
54 views

WordPress doesn't recognize submenus as <ul> so I can't style them properly

I'm quite new to WP theme development so I'm sorry if the answer for this question may seem obvious. I'm developing a custom WordPress theme from scratch, and I'm stuck working on the menus. My ...
0
votes
1answer
23 views

resize only height using wp_get_image_editor

I want to resize an image keeping its original width unchanged. I only want to resize the height to 300px. I am trying following, but it changes the width automatically. How can I keep it unchanged? ...
0
votes
0answers
149 views

WordPress 4.2.2: WPLANG vs Locale?

I am about to create a second language for a WordPress theme, using external .po / .mo files for all small sentences like "read more", "category archive", etc. The structure with www.mysite.com/de/ ...
-1
votes
1answer
27 views

header_image not returning header image url

I have following setup: //set defaults $args = array( 'default-image' => get_template_directory_uri().'/images/banner.png', 'random-default' => false, ...
0
votes
1answer
36 views

Reset Wordpress Post Query to default

i am in a situation, i am creating a custom wordpress theme but i am stuck over something. in my index/home page, firstly i am displaying 6 posts by category like below <?php $posts = ...
-3
votes
3answers
34 views

white spaces on the all sides [closed]

I am new to wordpress and this is the first html website I converted. After I converted my page to a wordpress theme, I notice that there is a white space on all sides of my page. This only happened ...
1
vote
3answers
68 views

How the WordPress sidebar works

Ok, the title is surely not good to explain my very basic question, but here it is: I just started creating a wordpress theme and the index.php has two columns: 1.) The main content and 2.) A ...
0
votes
1answer
34 views

zip unzip attachments in wordpress

my client using easy digital download plugin for sell their photos. They upload a zip file that contain many photos and sell this zip file. My need is to extract this zip file and display the images ...
0
votes
1answer
34 views

Issue on Getting Images URL of the Post Gallery

I am trying to get the URL of the attached galley into the post on custom page layout called Gallery Page. I tried to use the code from Codex at This Page (get post gallery images). but I am not ...
1
vote
2answers
46 views

How to change i18n/l10n of #reply-title? (Old title: Comment reply link not working)

I'm developing a new theme and plugins for it. Unfortunately, the comment reply link is broken. Instead of moving the comment reply textarea, the page is reloaded by adding e.g. ?replytocom=2#respond ...
0
votes
1answer
19 views

Output unique taxonomy terms of posts inside a loop

I'm trying to dynamically populate a dropdown list of taxonomy terms (state is the taxonomy used) of a custom post type (product) on a search form. I can dynamically build the dropdown on it's own, ...
0
votes
0answers
28 views

add_settings_field() inside loop

Hey I'm trying to add textareas dynamically - so there's no fixed amount of textareas which are added. I tried it with anonymous functions inside a loop, but I just can't get it to work. Here's my ...
1
vote
3answers
30 views

Not getting author rank when using return

I am implementing a section in my website to get the top 5 authors using this code. function ranked_authors(){ $usrs = get_users('role=contributor'); $countarr = array(); foreach ($usrs as ...
0
votes
0answers
35 views

How to override wordpress native options with theme options

In wp-admin/options-reading.php there are options such as posts_per_page. How do I override it with my theme options page form? I tried adding a text field with the option name but it didn't work: ...
0
votes
1answer
34 views

How to prevent XSS attack in wordpress theme?

I am creating a WordPress theme. What should i do, to prevent XSS attack in WordPress theme? i did not found much about it for WordPress Themes.
0
votes
3answers
74 views

Remove Customize Background and Header from Appearance admin menu without CSS or JS

I am trying to remove background and header from appearance menu, but they don't seem to go away! I think it's because I have activated customize, but can I remove them anyway without using CSS or JS? ...
1
vote
0answers
65 views

AJAXIFY WordPress Theme Frontend menu

I have the next code in my functions.php add_action('wp_enqueue_scripts', 'my_frontendscript'); function my_frontendscript() { //registering script wp_register_script('frontendscript', ...
0
votes
2answers
28 views

Create a child theme from multiple themes

Is possible to create a child theme using various parents themes as template, instead of only a single parent? Example: The child theme will be called 'Light', and his parents will be the theme ...
1
vote
1answer
12 views

Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value

I want to have this kind of validation in my code: if (/*OLD*/get_theme_mod($name) != /*NEW*/get_theme_mod($name)) { // do something.. } That code will execute after pressing the "Save & ...
0
votes
0answers
46 views

How to get the Clicked ID and output that ID data in another page

I am creating a WordPress theme. I created single.php, in which I have a button called "Watch Now". When "Watch Now" is clicked, it gets the ID of the current/clicked post dynamically using the ...
0
votes
1answer
51 views

What does this mean in wordpress? Easy question

Im digging wordpress and started to look into templates to be specific blank themes/frameworks for making custom themes. I found "HTML5Blank" and was going through source code and found something i do ...
0
votes
1answer
96 views

Using AJAX to return search form results

I'm trying to take user input from a search form, build a query based on user input, and then return relevant posts using AJAX. Right now, the form builds the select dropdowns properly. The form ...
0
votes
0answers
17 views

Password protected posts are breaking my layout

I am developing a theme and I am trying to bug test it before releasing it. I loaded up a sample XML file that includes password protected posts. These posts break my layout on index.php because ...
0
votes
2answers
45 views

Adding content inside the anchor tags within WordPress main nav

I'm using FontAwesome and hence I need to include some extra code next to parent menu options that have a sub-menu, such as: <li> <a href="">About <span class="fa ...
0
votes
2answers
61 views

Recommended tools for Theme Development with SASS [closed]

My question is - what are other people's processes in most efficiently developing WordPress themes that utilize SASS and what tools are you using? I also develop from multiple locations/machines (both ...
0
votes
0answers
13 views

adding action with in a class?

Is this possible? this class is Extension from another that trigger itself, so far any other hooks has work properly such wp_enqueue_script or apply_filters. But this functions just don't work and it ...
0
votes
0answers
22 views

Making a string translation ready (with some html in it) [duplicate]

A simple text string is made translation ready as: _e('Simple string','textdomain'); But how to make the string translation ready with some html in it, eg: simple string with a <a ...
-1
votes
1answer
63 views

how to insert content into wp_head after loop_end

I'm trying to access the info on a post, so I can get the post title and post content so that I can generate the respective OG tags to put in the header. Problem is that the info is only avaiable ...
0
votes
1answer
23 views

Removing non native customizer settings from a child theme

For removing settings, controls and sections of the customizer, we can just simply use the remove methods like this: function remove_custom($wp_customize) { $wp_customize->remove_setting('id'); ...