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

learn more… | top users | synonyms

0
votes
1answer
975 views

Add content after get_header

I'd like to add content directly after the div#main (end of header.php) and before /div#main (beginning of footer.php). I'm using an own child-template (of twentythirteen), that contains only style....
0
votes
1answer
11 views

How to Create Custom HTML Tag on Editor in `Text(HTML)` mode

Can you please let me know how I can add a custom Tag button into WP Editor in Text(HTML) mode like what I would like to insert into the Post is something like <hr class="dark-line-2" /> ...
0
votes
1answer
2k views

How to make Isotope and Wordpress work together?

I am trying to make my Wordpress theme using Isotope plugin. http://isotope.metafizzy.co/ So far, I have such a result after doing that was suggested: I believe that Isotope Masonry should not ...
0
votes
2answers
27 views

Font Awesome stopped showing icons, shows &# text instead [on hold]

after migrating my WP site to a different domain and making adjustments, Font Awesome stopped showing icons and shows some weird text instead, for example & # 61505; (I can't copy it as a text, ...
0
votes
1answer
21 views

image sizes - finding and removing

I've inherited a wordpress site that has way too many image sizes being uploaded, several are not being used. I can't seem to find where they're being created in order to remove them. I've tried ...
0
votes
1answer
24 views

Output only links using wp_nav_menu()

I have been trying to output only links when using the wp_nav_menu(). This is because I have a predefined ul and li tags for the links. This is what I did: <div class="collapse navbar-collapse" ...
0
votes
1answer
2k views

How do I implement jPanelMenu?

I have serious problems trying to implement jPanelMenu to the theme I'm building. The theme is nearly finished, I'm just trying to figure out this menu and I can finally start using it. Anyways, if ...
2
votes
2answers
2k views

Get category slug and display it on a query_post

I just read "How to create option page for wordpress theme" in wp.tutsplus.com - I have a problem with getting categories . there is two parts to my question - Part A - Get category slug and ...
1
vote
1answer
72 views

Filter, or any way to dynamically change theme screenshot image?

I'm building a web application on top of WordPress. Part of this will be to automatically reconfigure theme assets based on the industry my user is aligned to. For example, the theme will auto-...
-1
votes
0answers
13 views

Wordpress presentation pages on envato

when I look on a theme presentation on Themeforest I see a lot of home/page samplings/contact samplings and blog/portofolio styles... I'm looking to make a theme... but, I feel discouraged when I see ...
-2
votes
0answers
18 views

Is any tutorial available to learn wordpress step by step ? [closed]

I have searched lot of websites to get step by step tutorials for wordpress, but i can't get any website like w3schools Could you please suggest any websites for learn wordpress step by step ?
0
votes
1answer
24 views

Display div only on the HOMEPAGE

I would like to display a div, only on the homepage. Is this possible? I have a banner in the header.php file and only want to display this banner div on the homepage. How could I achieve this? ...
0
votes
2answers
21 views

Inserting Plugins Into Blank Space of Externally Designed Wordpress Theme

I am currently working on this website which uses a Wordpress theme designed by one Themeforest author. As can be seen via the link and the following screenshot from the same page, the theme's ...
0
votes
0answers
18 views

Dynamically load custom post types after selecting custom term

I'm building a kind of "selector" tool. What I have in WP is a custom post type with equipment. Then I have a custom taxonomy called Equipment types. There are parents and children terms. For ...
1
vote
3answers
1k views

Add custom field to existing meta box?

First off, I have been able to successfully implement custom fields within a custom meta box in Wordpress. I understand how this works. My question is, is there a way for me to add a custom field to ...
-1
votes
2answers
1k views

Magnific Popup - Add Caption to Images

My theme uses Magnific Popup as follows in theme.js /* add lightbox for blog galleries */ $(".gallery a[href$='.jpg'],.gallery a[href$='.jpeg'],.featured-item a[href$='.jpeg'],.featured-item a[...
0
votes
1answer
14 views

Dynamic drop down of child terms and then drop down posts

I'm building a kind of selection tool. I have 9 parent taxonomies. Each one has some children and those all have posts. I have the top level taxonomy displaying. However, I'm not quite sure how to ...
0
votes
3answers
431 views

Custom meta box in custom post type not working

As a wordpress newbie I am having problems in adding custom meta box in my "slider" custom post type which I used in some old wp theme. I'm getting a warning: Warning: call_user_func() expects ...
0
votes
1answer
40 views

Have the homepage look different to index.php without a static page

I have theme where I want to have the home page look different to the rest of the post lists. I used home.php to create the homepage and assumed that when Older Posts was clicked /page/2 would use ...
0
votes
1answer
64 views

One-Page WordPress Template

I have created four custom PHP file pages page-about.php page-services.php page-portfolio.php page-contact.php I have entered custom php code for every page that will show up on the homepage as ...
0
votes
1answer
12 views

Callback Function Not Firing On Selection In Media Uploader

I'm studying theme development and am working on some code for a media uploader that can be used to add a picture. The file frame is opening (and I've called wp_enqueue_media(); for that to be the ...
0
votes
1answer
17 views

Display content on Single page

I am building a single page theme, And I am having a problem with get_post_meta() The Problem This code bellow does not work, and I cannot see anything on the website as it's blank. Here is my index....
1
vote
1answer
16 views

How to change get_custom_logo() url?

I need to change default WordPress get_custom_logo() generated url because I need to link to the main multi-site site instead of single site. Is there any filter to change this function?
0
votes
1answer
462 views

WordPress Template Part in iFrame

(As a preface, I know this is going to sound absurd, but please bear with me. I'm aware this is unideal and atypical.) What I need to do is put wp_nav_menu inside an iFrame so I can view it on a non-...
0
votes
2answers
2k views

Conditional tags issue for multiple is_page() conditions in sidebar.php

I've been pulling my hair out today trying to get this right. Basically I have a sidebar, which makes requests to individual files (such as sidebar-home.php, sidebar-residential.php) and different ...
2
votes
2answers
116 views

Page template across themes

Is it possible to make a page template available to multiple or all themes without having to save the page template in every single theme folder? Maybe something like: themes/globalform.php instead ...
1
vote
2answers
863 views

WP Customize refresh problem

Hi I am adding options to WP Customize. Mostly everything works, but One of my variable is not refreshed in the preview window. $wp_customize->add_setting('checkbox', array( 'capability' =...
5
votes
1answer
66 views

Can I create customizer setting that can handle plugin shortcode?

Can I create a customizer setting which will handle a shortcode from a plugin? Do I violate and rules or guidelines in WordPress theme development? If it's possible what is the best way to sanitize ...
0
votes
1answer
583 views

Customizer API and add_panel(). Panel doesn't show

I try to add panel to my customizer but code below doesn't work (panel don't show in customizer container). My code: add_action( 'customize_register', 'customizer_test' ); function customizer_test($...
-2
votes
0answers
16 views

How do I remove the sidebar from this whole theme?

It's called Shapely and here is it's download site. I would like to remove the sidebars in general. I want to do it the right away instead of "display: none;" it in CSS.
3
votes
2answers
420 views

One button to change all settings in theme customizer?

I have been attempting to create a theme reset button for the theme customizer that automatically removes all of the theme_mod settings. I have tried multiple ways to do this and have never been able ...
-1
votes
1answer
15 views

Is using display: none the proper way to hide elements in a theme?

I'm trying to customize a purchased theme and I need to hide a bunch of default elements. Removing these elements is not natively supported by the themes options. I've done some research on removing ...
0
votes
2answers
814 views

Widget Option is Missing

My Widget Option is missing in the Dashboard area. How can i make that appear? I have downloaded this Blank Theme from Chris Coyiers site. sidebar.php <?php /** * @package WordPress * @...
1
vote
1answer
777 views

Why does my functions.php cause white-screen and media-library issues?

Overview: I was authoring a child-theme, and realized that functions.php was causing problems with the media-library and caused a "white-screen" to appear after editing a post. I fixed the issue by ...
-4
votes
0answers
22 views

How to build a simple application on top of WordPress?

My client gave me a front-end admin/dashboard template that is built using HTML, CSS, JavaScript and jQuery. He said that I will be developing this application on top of WordPress. Is it even ...
0
votes
1answer
25 views

In a Gallery with limited image posts, how do I not limit images on single post?

I created a function for a theme that limits the amount of images displayed in a gallery. This is within the Gallery post format. However, I want to limit gallery images on all pages except for the ...
1
vote
3answers
553 views

How can one update a theme on a live site without interruption?

So i have a WordPress-based site with a custom Genesis child theme. Once the site goes live, we are obviously going to need to make changes periodically to the child theme's code — modifying CSS and ...
0
votes
0answers
24 views

Creating a wordpress loop with featured images in different divs

I'd like to create a wordpress loop that allows me to style each featured images in separate divs. I've done a fair bit of research but can't seem to find anything that helps. Can anyone point me in ...
1
vote
2answers
31 views

Custom metabox for custom page template

I have created custom page template. Now I have to make it configurable, however since I am using more than one template in my theme I would like to make sure that configuration will be available only ...
0
votes
0answers
10 views

How to move header image above the menu bar

I've created the blog by installing WordPress using cPanel for my website. Now by using wp-admin login I am trying to customize the blog to appear in the similar layout as my website. So far I have ...
0
votes
3answers
636 views

Passing postid of Testimonial Custom Post in Shortcode Parameter

I am trying to create Testimonial custom post and display using shortcode function create_post_type() { register_post_type( 'testimonials',//new post type array( '...
0
votes
3answers
5k views

Why are some of my thumbnails not being generated?

I am currently developing my new theme over at testing.detailsofmylife.net and I am using a WooThemes template as my basic design. I want to try and include their WooTabs widget as graphically I ...
0
votes
1answer
38 views

Can I use WP Multi-site on a sub-domain with a different theme but use all the original site's posts/pages?

I've been reading a lot about multi-sites but am still not 100% sure on this. My use case scenario is that I have an original WP site which relies heavily on a lot of data in a custom post type. ...
0
votes
0answers
12 views

How to configure wordpress to work with Vuejs with SSR and without hashbang

I am new on developing themes with vue.js and I would like to know how do I configure wordpress after removing hashbang from Vue.js router and on html5 history mode? Another question is on this setup ...
1
vote
1answer
58 views

What is better way to use Bootstrap inside admin panel?

I need to use Bootstrap CSS for better UI in wp-admin but if I enqueue the bootstrap.css, it's affecting the admin default UI by changing background colors, etc. How can I use bootstrap.css inside wp-...
1
vote
2answers
43 views

List authors with posts in a category

I'm trying to create a custom widget to display contributing authors for the current category being viewed on a WordPress site. I have the following PHP code: <?php if (is_category()) { ?> // ...
0
votes
1answer
9k views

How to add “Template” option in page attributes panel?

I am new in WordPress. In my theme, I do not have "Template" option in 'Page Attributes panel'. I want to add this option. I tried to solve this problem from the following post. But It did not work ...
3
votes
1answer
286 views

Why max-width:97.5% on content images?

Is there a specific reason why we find max-width:97.5% instead of 100% in common themes such as Twenty Eleven?
1
vote
2answers
38 views

Am I supposed to create a child theme for every theme I use?

I just learned about child themes recently and was wondering if creating a child theme for every theme I create is necessary. I just find it weird how other themes work okay without child themes, and ...
-1
votes
0answers
17 views

Theme with “custom css” field - changes are never saved

I am clueless. I am saving custom css code into my theme's "enter your custom css"field, I save it, and when I refresh the page everything is gone. At first I thought it was just a caching error: ...