A WordPress Theme is a collection of files that work together to produce a graphical interface with an underlying unifying design for a blog.

learn more… | top users | synonyms (2)

0
votes
1answer
453 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 ...
0
votes
1answer
6k 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 ...
0
votes
0answers
13 views

Add a warning when a user tries to deactivate a network-disabled theme

In a multi-site context you can network enable a theme. If your then network-disable that theme, the theme is removed from every site's theme admin page unless the theme was previously enabled ...
0
votes
0answers
24 views

Activate plugins by a theme's functions.php?

Is it possible to activate plugins per theme? I have a multisite, and I know it is possible to activate plugins per site. But I need plugins to be enabled for specific themes. Someone asked a ...
2
votes
2answers
540 views

Symlink a directory to wp-content/themes

Is it possible to symlink a directory from my project folder to my wp-content/themes folder which is in a Vagrant setup called chassis: https://github.com/Chassis/Chassis ? I tried to symlink already ...
1
vote
1answer
38 views

The best way to customize “nav-menu-template.php” to add <input> if the 'link_before' is “checkbox”

I would like to add a 'link_before' control for a wp_nav_menu(), like that: if ( strpos( $args->link_before, 'checkbox' ) == true ) { $args->link_before = '<input id="toggle' . ...
9
votes
3answers
3k views

How to move the sidebar in TwentyFifteen to the right?

Is it possible to move the sidebar in the TwentyFifteen theme to the right using a child theme and CSS only, or does it require changes to the theme itself? The main issue I'm running into is that I ...
0
votes
1answer
485 views

Free themes for commercial use

Does anyone here know weather or not a free theme on Wordpress can be used for commercial purposes? I am using the Pinboard theme. Would I need to get some sort of licence to operate the website as ...
0
votes
1answer
438 views

Can't change theme options, connection reset error

I've downloaded a theme and applied it, but whenever I go to Appearance - Theme options and click on "save settings", I get an "ERR_CONNECTION_RESET" error, while in address bar I see ...
0
votes
1answer
21 views

How to have multiple Wordpress Menus

If possible, could someone answer this in very easy steps as I am new to coding. I was wandering if there is an easy method for having multiple menus in any theme; I have been searching the internet ...
0
votes
0answers
22 views

Are immediately-called actions not usable in themes?

If there is a filter or action called immediately in a plugin file (not on 'init' or 'wp' action etc.), is it at all possible for a theme to filter it? Looking through wp-setting.php I would assume ...
1
vote
1answer
2k views

Widgets menu does not appear under “Appearance” in dashboard

I am developing a WordPress theme, but am stuck on widgetizing my theme. I have followed several tutorials but still cannot get it to work. My widgets menu does not appear under Appearance in my ...
0
votes
0answers
10 views

Perform a 'refresh' transport or open the site in new tab, after saving the theme in Customizer

Is it possible to perform a 'refresh' transport after saving the theme in Customizer? Can you help me about this? If it is not, then my plan B is just to open the site in new tab after saving the ...
6
votes
3answers
1k views

remove_action on after_setup_theme not working from child theme

I am trying to remove a theme action for an elegant-themes theme using a child theme.. This works when I remove action after add_action code anywhere in the parent theme functions.php. However, it ...
2
votes
0answers
85 views

When does Wordpress wrap inline scripts in CDATA?

I'm debugging a problem with a third party script of ours that wordpress users use by copy / pasting a snippet of script and html into their post's bodies like (non-real world example of course): ...
0
votes
1answer
57 views

Theme CSS background-image keeps throwing 404

I have a Wordpress site I am developing with the Sage starter theme. I have set a static home page, and added a new div to that page that is going to act as my stage. I would like to add a ...
0
votes
0answers
20 views

Adding a CPT to a Custom Themeforest Theme

I am trying to add a couple of custom post types to a ThemeForest theme i purchased and have tweaked a bit and I am trying to get the CPT to pull into the archives and I asked the creator for help he ...
0
votes
0answers
8 views

Return blog ids for all sites of a multisite using a specific theme

Can you detect which sites of a multisite are using a particular theme and return them as an array of blog IDs? What I'd like to do is detect all sites using a certain theme and pull in some data ...
0
votes
2answers
34 views

how to get rid of header banner buttons on child themes [closed]

I had just made my child theme yesterday which is dependent on the parent theme but i was wondering how do i get rid of the header banner buttons which i had inherited from the parents theme from the ...
1
vote
1answer
312 views

How to create child theme with Tesseract theme?

I know this have been answer multiple times... I was looking through this coding.. http://codex.wordpress.org/Child_Themes & Versioning @import of parent theme's style.css & How to ...
0
votes
1answer
48 views

How to pass a variable from a template page to the child theme functions.php

I'm searching for a way to pass a variable from a custom Wordpress page template to my child theme functions.php file. I have the wrong scope and I'm completely lost. I'm trying to generate a google ...
1
vote
1answer
33 views

Can't resize logo in responsive theme?

I've been knocking my head against this one for hours. I haven't dabbled in web development in years, so I'm very rusty. I setup a new website, clearerlines.net, designed a logo for the header, and ...
0
votes
0answers
28 views

Can't change the language of theme

So I got rid of those errors before, now the last thing was to translate that Marvel theme for my wordpress site. Did it with poedit, grabbing the en_US translation from ...
0
votes
0answers
18 views

Tag template pagination

I need to ask about how can i add pagination to my post tag template pages this is the code and link of the page http://ca.unitysofts.com/tag/fortnight-focus/ <?php get_header(); ...
0
votes
0answers
11 views

Translating a specific part (form) of NUVO theme (possibly a plugin)

Friend of mine asked me to help with his website, he already bought nuvo theme. there is a form for placing reservations witch is in english (I think its a plugin or something). I found the strings ...
0
votes
0answers
23 views

how to add a css version into the code?

i need to add a version or change the old version if it is exist just to make sure that any change will be shown by the browsers . I could not find the element link of the css to add a version . ...
0
votes
1answer
63 views

How to correctly enqueue the parent and child theme stylesheets in the creation of a child theme? [duplicate]

I have to create a child theme to implement some changes to a WordPress theme and avoid that these changes are lost when the theme will be update. So I have some doubt about how do it. I am ...
0
votes
1answer
23 views

Password Protected Page + Showing Different Page If Not Authenticated/Authorized

I have a few pages of custom posts that I would like to password protect via the following business rules: I can create a number of passwords to access the page An expiration date can be set for ...
0
votes
1answer
16 views

Things that saved lose when logout

i been working on theme for my portfolio on my host and domain name http://alyelgarhy.com/ and things i saved when login changed when logout for example i change the tagline to senior web designer ...
0
votes
0answers
57 views

Open Modal and load external URL in new tab

The theme CouponXL http://demo.powerthemes.club/themes/couponxl/ that is specific offers and discount coupons, clicking on a discount coupon (SHOW CODE) comes a modal window (from its own URL) and in ...
0
votes
0answers
26 views

Using Customizer value in an external PHP file inside a theme

I'm working on a theme for a company and they don't want the users to touch the code at all. So as I love, they asked me to use Customizer API. Now, there's a PHP file in the theme which we don't ...
0
votes
0answers
5 views

Have pre defined menus when developing a theme

I am trying to develop a theme with customizable menus, like a header with menu options and footer with menu options. In my theme menu page right now, in "Select a menu to edit" there are only 2 ...
0
votes
0answers
19 views

Is it possible to place plugin files inside a Wordpress theme?

Is it possible to place plugin files inside a Wordpress theme? I have customize the plugin and on updation of the plugin all the code will be lost.
0
votes
1answer
19 views

Creating a stand-alone site from a WordPress sub site

A friend of mine set up a WordPress sub site for me over three years ago as part of her own site. Although I have full control of the page and blog contents I cannot change the theme or the blog ...
0
votes
0answers
19 views

Make Twitter feed widget show on side panel, which does not exist yet in the template

I was asked to do a slight revamp of the web page Motorcycle forum, notably, to move twitter feed to sidebar, which, however, does not show. The website, although simplistic, looks quite mature, so ...
1
vote
3answers
39 views

X-Axis of Site is Messed Up Because it is in Hebrew

One of my client's sites are in Hebrew which is a right-to-left language. I'm using the MH Newsdesk Lite theme found on wordpress.org . The theme is using a core wordpress generated class ...
0
votes
1answer
13 views

Featured images are cropped on index and post page

I am using a theme called Simple Bootstrap and after a recent update, the theme began cropping the height of the featured images on both the index and the post page. When I inspect the specific ...
-1
votes
1answer
27 views

Starting fresh on a blank “theme” [closed]

So, I have been working on a wordpress website for awhile and learned lots of new things. I used a really nice theme with lots of features. However over time, I found myself not using any of those ...
0
votes
2answers
37 views

Installing new theme on running site

I have a running Wordpress site (3.9.6). Now a new theme should be used and for this theme also some customizations have to be made (content, some WP files like page.php and so on). Additionally, I ...
0
votes
1answer
25 views

Fail to install theme on development copy of WordPress on Webmatrix

I am a newbie on WordPress and the development copy of company WordPress site is running on WebMatrix. One very first thing I try to do is to install a theme to the development copy to make sure it ...
0
votes
1answer
56 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
vote
1answer
22 views

Problem of running development copy of WordPress on WebMatrix?

I am a newbie on WordPress and PHP but at a learning task to maintain running company website. I downloaded the copy of company website and database into local machine to try to setup a development ...
3
votes
3answers
2k views

Theme file for all pages that are a child of a specific page

Is it possible within the current theme file naming hierarchy to define a template for for all pages that are a child of a specific page? For example, in this navigation: About Us Contact Who We ...
0
votes
0answers
14 views

Theme settings are not shown on the settings page Help

My problem is that my changes are not displayed on the Theme settings page. Can anyone help me? The site is Materialize-wordpress.com Here is the code: <?php add_action( 'admin_init', ...
5
votes
2answers
6k views

Show different theme for admin?

I'd like to test some theme changes on my live site, but I obviously don't want regular users seeing any errors that may arise from it. I'd like to just duplicate my theme folder and if I'm logged in ...
0
votes
1answer
57 views

How do I change text of a product template in a WooCommerce theme? [closed]

I want to change 'Out of stock' to 'Sold' on my product pages when a product is gone. What template should I look at to change this?
0
votes
0answers
168 views

Add Text After Logo in zerif lite theme

I am tring to add text After logo in the Zerif lite theme. I did this by adding a after the logo in header.php. echo '<a href="'.esc_url( home_url( '/' ) ).'" class="navbar-brand">'; ...
0
votes
0answers
16 views

is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript

Is there a predefined JavaScript function that can be use to check whether the site is being previewed in the Customizer which returns true if it is or false if it's not, just like what ...
0
votes
0answers
26 views

Use one column per category

I dont typically do wordpress development, though I am a PHP developer, so I get those concepts. I apologize if this has been asked and answered already. I looked through the questions as they ...
0
votes
2answers
24 views

dequeue not work

i use a plugin that containing this code and i want to change js location to be located in my template directory instead of plugin without editing the plugin files class jqueryTimelinrLoad { ...