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
0answers
24 views

Where to place functions and actions if functions.php is encoded? [duplicate]

I've got an encoded theme but I need to run this function on every post status change. So I don't know where to put this code cause function.php is encoded. I am using this function on another theme ...
1
vote
2answers
41 views

if ( is_home() && ! is_front_page() )

I see the following code a lot in index.php files. I understand that is_front_page() returns true when viewing the Site Front Page (whether displaying the blog posts index or a static page), while ...
4
votes
2answers
68 views

Password-protect a custom rss feed

I've created a custom post type and would like to send those posts to FB Instant Articles and Apple News via a RSS feed. I've created a custom RSS feed and need to know what's the best way to make ...
3
votes
1answer
83 views

How to get the registered sidebar's name by its id?

Let's say I have this code in my "functions.php": function mytheme_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Sidebar Name', 'mytheme' ), 'id' ...
1
vote
1answer
79 views

Could not create directory

This question is already asked however none of the solution seems to work in my case. I am trying to install a theme for my new website. I just downloaded a brand new theme zipped it and tried to ...
0
votes
2answers
34 views

how to load rtl.css file before style.css [duplicate]

we all know that some languages have right to left "rtl" direction and we can add rtl.css file to modify theme layout in one of the languages that uses RTL direction. the problem here is that, when i ...
0
votes
2answers
176 views

Adding Bootstrap to WordPress TwentySixteen Theme

How can I add Bootstrap to the Wordpress TwentySixteen Theme without using a plugin? I've tried linking to the stylesheets and scripts within the header/footer, however the theme seems to override ...
0
votes
1answer
10 views

Get images / media attached to a page by page ID

I have a series of pages which have images included on them by means of the HTML editor in the admin area. I need to access these while NOT on the the actual page in question, i.e, I need to access ...
0
votes
1answer
23 views

How to translate a string that contains a WordPress sitename

currently I have this code: <?php _e( 'Follow ' . get_bloginfo( 'name' ) . ' on Facebook', 'yanse' ); ?> But I just get Follow to translate and it echoes "Seguir 'Site name' on Facebook"
0
votes
1answer
28 views

Wordpress add taxonomies/terms list as a menu in archive page

I create a custom post type (deals), terms (project), menu (top_menu) and archive page (archive-deals.php) on my theme. I want to display terms post list in archive page. But when I click terms menu ...
0
votes
2answers
27 views

New created Theme leads to malfunctioning Xampp Apache --> functions.php is cause

what I did: I installed Wordpress on XAMPP Build a correctly working theme for Wordpress Copied this theme to another folder next to the first one in my Wordpress Themes-folder Made some css ...
-2
votes
1answer
22 views

wordpress theme breaks in inserting an external php ? possible mistake in folder config?

I am new to wordpress and following is my scenario. I am inserting an external php script in wordpress by creating a new template in the theme and then using that template in a new page. When I do ...
0
votes
0answers
48 views

Theme Unresponsive in Wordpress 4.5 (4.4.2 Ok)

We're testing WP 4.5 in our Development Environment and found that our custom theme is wrecked by the update; more specifically, the page stops loading content but acts as if its still loading after ...
1
vote
1answer
478 views

Divi Theme - images not showing on front page [closed]

I have been using the Divi theme for this site (http://www.evaecho.com) but all of a sudden without changing anything the images are not appearing on the front page (they are for all other pages). ...
0
votes
1answer
34 views

All custom links suddenly lack href attributes

Short version: before updating to WP 4.5 and on a day when the only known change was adding a page to a submenu via the navigation menu admin all of the menu links of type Custom Link where we specify ...
1
vote
2answers
237 views

Theme broken after upgrading to WordPress 4.5, missing stylesheet?

Updating to WordPress 4.5 broke my theme, ThemeWoot Emulate. It appears that perhaps a stylesheet is somehow missing. Example symptoms: The mobile menu is shown by default The top search box is ...
3
votes
1answer
36 views

Extra themes - ok or bad?

I know I am a newbie here, but I'm just wondering, if you keep extra themes in your Wordpress setup, will it add bloat to your site? Can these other themes provide a security risk even if they aren't ...
0
votes
0answers
23 views

How to List subcategories of a single category alphabetically

Imagine there is a category called Info ( id = 40 ) that has many subcategories . Now I want to show the ones that start with " A " and " D " somewhere else . Is there a way to kind of get ...
0
votes
0answers
22 views

How do link to the most recent post in a category (Cornerstone theme)?

Hello friends :) I am in a pickle. I am creating a website in X/Cornerstone for an artist who has many projects , each has of which has its own Wordpress site. All of them rely on blog posts to ...
0
votes
1answer
56 views

Does heavy theme and plugins affect server's response time? [closed]

I am building my website using TheSeven theme, with Visual Composer and Ultimate Addons For VC plugins. But my website run very very slow. It takes 6-7 seconds or sometimes higher to load my homepage: ...
0
votes
1answer
39 views

Unable to change the priority with 'remove_action' and 'add_action' in child theme

I am using an Woo theme. In the parent theme, there is this function: function woothemes_wp_head() { do_action( 'woothemes_wp_head_before' ); if ( function_exists( 'woo_output_alt_stylesheet' ) ) ...
0
votes
1answer
53 views

LESS not working in WordPress [closed]

How to run the CSS preprocessor (LESS) in WordPress? I'm trying to apply LESS in my child theme. I create variable.less and place it in the child theme folder css/less/variable.less and I call this ...
0
votes
1answer
33 views

wordpress theme install failing

I am trying to install wordpress theme on my site, but is failing with message Could not copy file. catch-responsive/404.php Folder permissions are as - ftp user is owner of the whole wordpress ...
0
votes
0answers
36 views

Why Underscores Theme Comment Form Reversed?

Here is what I'm talking about It's plain unmodified underscores theme, why is the comment form reversed starting from "comment" box first? I checked the functions files there aren't any codes ...
0
votes
1answer
25 views

TwentyFourteen Theme : Changing grid layout

I have been plugging away making my new site and it is going great with only one issue so far. How would I go about changing the featured posts grid so that instead of displaying 3 featured posts per ...
0
votes
0answers
10 views

Modify the forms control in the theme customizer using jquery or js

i'm trying to modify the input boxes which i created using $wp_customize from the theme customizer, for example if a select box from the theme customzer changes of value, the other select boxes hide. ...
-1
votes
1answer
44 views

What is The Best Way to Make Parallax header effect for wordpress theme ?? pure CSS or using JavaScript? [closed]

I'm new in wordpress theme development, I want ask some question here, I want to make a parallax effect for my theme header like this: TestParallax.com this is made by using some JS code, I want to ...
0
votes
1answer
26 views

Display ads by location [closed]

I have recently purchased a WordPress theme,and built a website with directory listing. On the Homepage there is a listing with locations, and at the moment they are listed in ascending order. I have ...
0
votes
1answer
39 views

Plugin does not work in custom theme

I created a new theme, starting by zero. The theme works correctly, but some plugins not. I installed Google Analytics & Webmaster Tools, I compiled the plugin with my track codes, but in the ...
0
votes
2answers
35 views

Should I implement my own custom theme

I am new to WordPress, my graphical designer provided me a new design for our web-site and I wonder what is the best way to integrate the design into WordPress. I assume that: I can adopt some ...
0
votes
0answers
17 views

Create a custom theme-specific page, invisible in the admin-panel?

I've learned that when I want a custom page, I need to create a page template, create my page and assign the template to it. Also I've read about fake/virtual pages, where the page is generated on the ...
-2
votes
1answer
23 views

How to get customable image header?

I'm creating new responsive theme. How do I get customable theme header image with text inside the image? For ie. Site title in the header image. I read about using add_theme_support( ...
0
votes
0answers
21 views

Adding CPT changes entire layout of my site except for the archive of that CPT

I am writing a plugin that adds a CPT called Contest. The problem is that the entire layout of the site is changed when I activate the plugin. The odd thing is that the changes are applied to ...
0
votes
1answer
107 views

Divi theme including javascript

I have tested the html and the css and the js independently of wordpress and all works fine. So trying to integrate it into wordpress. I have added the html code as a code module. I have created a ...
0
votes
3answers
75 views

How to get the active theme's slug?

I'm able to get certain info about the active theme using wp_get_theme(). For example: $theme = wp_get_theme(); echo $theme->get( 'TextDomain' ); // twentyfifteen echo $theme->get( 'ThemeURI' ...
-4
votes
1answer
27 views

How to remove the intro animation which appears during the load up of some Wordpress themes? [closed]

How do you find and delete the code which makes the loading animation at the very start of every page on many wordpress sites appear? Sometimes the animation is a simple loading wheel gif image and ...
0
votes
1answer
38 views

Editing existing pre-created menus in PHP

Here's my pickle. I'm using a script to automatically create a fully pledged WordPress site. In this process new pages, etc are created automatically. I now need a way to add the newly created page(s) ...
0
votes
3answers
32 views

How can I manually activate my previous theme without browser access to dashboard?

When I switched to using a blank theme, the WordPress dashboard disappeared. To re-activate the previous theme I was using (which did have dashboard support), I reset the values of template, ...
0
votes
0answers
30 views

Wordpress not responseing headers to download a file

I have a WP plugin that sends a link to an email to download a file in hidden location. User selects a file, then a token containing the file ID etc. is written to a database, and a link is sent. Upon ...
3
votes
2answers
92 views

How to change the themes “Live Preview” url within the Appearance->Themes page?

I need a way to change the themes "Live Preview" url within the Appearance->Themes page? I want the themes thumbnails to link to a demo site showcasing the theme and not open the customizer. I looked ...
0
votes
1answer
37 views

Infinite Loop after Genesis Theme Upgrade

I'm running WordPress on Microsoft Azure, and I've been having a lot of timeout errors any time I try to install or update plugins/themes. (I'm using a custom child theme, based on Genesis.) Today, I ...
0
votes
1answer
18 views

Weird 'theme update' error

I am developing a theme (which I am calling AsylumInfo) that gets built into a directory call /build and I have symlink from there to the wordpress setup on my computer. When I use wp-admin I get ...
0
votes
0answers
22 views

Show menu from plugin

I would like to include plugin menu into the theme. Did something like this: <?php add_action('after_setup_theme', 'my_load_plugin'); function my_load_plugin() { get_part( 'parts/menu', ...
0
votes
0answers
17 views

where to store some flags for theme

I wish to create a page for 18+. If user enters this page, he have to agree that he has 18 years old, otherwise leave. If he has agreed once, I do not wish to show this message again. Here are two ...
-1
votes
1answer
36 views

Theme Appearance [closed]

I cannot figure out why themes are not loading correctly on my website. I am pretty new to this but am trying to learn as much as I can. I have used Google but haven't figure out the solution. Here ...
0
votes
0answers
30 views

How to use load_plugin_textdomain from within a theme

I would like to perform a single word replacement for one of my plugins. From #: subscribe-and-connect-template.php:210 msgid "Subscribe" msgstr "Subscribe" To #: ...
1
vote
1answer
23 views

Is accessing theme and using customizer GPL distribution?

I am theme developer and I want to make a "demo" website, where people to which I give password will have access to nearly all theme functions (except theme editor) -> they won't have full admin ...
0
votes
1answer
31 views

Two theme locations for two menus, but only one is showing up

Here is what I try to achieve. I have two menus. One is going to be a top navigation that lists all the pages, and the other one is going to list post categories. in my header.php, I included the ...
0
votes
1answer
33 views

Using two stylesheets for mobile compatibility

I'm building a theme from scratch and I want it to use a different stylesheet for screens below a certain width, for mobile compatibility. I used this method in header.php to call the appropriate ...
0
votes
0answers
22 views

Why the output of an image gallery plugin is not displayed into a page of my custom theme?

I am pretty new as WordPress developer and I am going crazy with a theme developed by myself starting from 0. So, at this link you can download the entire theme so you can see in the details the ...