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
19 views

Code to restrict view of post based on date of user registration versus post

How can I include a function in a theme that will display a different text than the text in the post if the user registration date is > post date?
0
votes
0answers
5 views

Theme only saving post fields set by the author

I have a theme I'm customizing and every time I try add my own post field (meta data) nothing gets saved yet the fields set by author do. Is there something I'm missing or are there any restrictions ...
0
votes
0answers
37 views

Generate sidebars based on input value?

I have an input wich returns the following as an example: sidebar-one:1,sidebar-two:1,sidebar-three:0 1 is for active 0 is for inactive Can someone tell me where am i wrong on this code: function ...
0
votes
0answers
17 views

Use the methods of a class coded in a plugin

I have a plugin which creates a page in the admin options part (backend). It is based on a single class which creates a unique object when initializing the extension. Various methods in this class ...
0
votes
0answers
64 views

Wordpress admin can't upload photos on portfolio

I'm using "Andy Parker Theme" and a problem occurred just after the upgrading of WP to the latest version: when I want to add photos to my portfolio article, it opens the media popup allowing me to ...
0
votes
0answers
48 views

Add two custom post type. News and Staff

I have installed the Bone Theme for Wordpress and I have successfully setup a custom post type for Staff (post) but when I tried to create another one for News, Wordpress crashed. What is the right ...
0
votes
0answers
23 views

How to create drop down menu to display different themes from front end to anonymous users?

I have tried MDC theme switcher, but it does't work, actually no theme switchers work very well, they all have bugs and break themes and widget positions... Is there a way to find the URL of themes? ...
0
votes
0answers
25 views

How can i make my child theme editable by html and css?

I want to edit my child theme with CSS and HTML. Ideally i would like to edit my child theme files on my computer and then through filezilla make the changes to my website, but nothing is happening. ...
0
votes
0answers
69 views

How to upload theme: wordpress org Theme upload error

im checked my theme through theme check plugin. result : im failed upload wordpress org theme upload. having a problem uploading my theme to wordpress as the initial theme check fails with the ...
0
votes
0answers
29 views

Orderby one meta key, remove posts with another

I am trying to order custom posts with a custom taxonomy with a meta key value. I am also trying to remove posts from that loop if they are past the date set by another meta key. Here's my code: ...
0
votes
0answers
19 views

Remove/Disable “Automatically add new top-level pages to this menu”

Is there any way to disable or remove the "Auto add pages - Automatically add new top-level pages to this menu" functionality via a theme? I suppose I could hide it with a bit of CSS, but I'd rather ...
0
votes
0answers
19 views

update_option() is not working properly on my side, xampp and wampp is crashing

I'm using update_option() inside a validation callback on a custom options page for my theme, but every time I execute or save the settings page, Xampp and Wamp are crashing. Here is my code: ...
0
votes
0answers
13 views

Theme switch is working but clears options

I have written the following code which allows me to switch themes and set a cookie based on the URL param '?t=' This works just as intended but it does some weird things that I can not seem to ...
0
votes
0answers
55 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 ...
0
votes
0answers
29 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
26 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
0answers
46 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
0answers
12 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. ...
0
votes
0answers
21 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 ...
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
0answers
33 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 ...
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
18 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 ...
0
votes
0answers
33 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 #: subscribe-and-connect-template....
0
votes
0answers
24 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 ...
0
votes
0answers
7 views

How set on wp mu to read same content for site1 and mobile site2?

I have site 1 exemple.com and site 2 m.exemple.com 2 different themes and i need to read same content of site 1 to site2. I need a solution without a plugin if posible. I have 1 database, but 2 ...
0
votes
0answers
36 views

How to fix mixed content errors in the theme customization tool when your admin uses SSL?

I have a Wordpress installation hosted for free on Openshift. I'm using CloudFlare so I can force HTTPS on login/admin pages (more details about my setup can be found here). I got "mixed content" ...
0
votes
0answers
54 views

Child theme not loading parent layout

I am new to WordPress and I am just trying to help a friend customize his blog. I started doing this via the wp-admin Editor and CSS Editor until I found out this was a big no-no. So I set up a local ...
0
votes
0answers
40 views

How to hide default sidebar widgets?

I'd like to hide/not display all default widgets(Search, Recent Posts, Recent Comments, Archive, Categories and Meta) which are inserted into custom sidebar when the theme is installed. (Removing them ...
0
votes
0answers
14 views

How can I customize the white menu bar on the “Themes” page of the WordPress dashboard?

How can I customize the white menu bar on the "Themes" page (the "theme-install.php" page where a user can choose a free theme to install) of the WordPress dashboard? Currently, the menu links are "...
0
votes
0answers
43 views

Custom WP Admin pages do not display after trying to add child to functions-admin.php

I am building a theme options page. I have a parent page with 3 sub-pages under that. Volcano (Parent) Sidebar Theme Options Custom CSS The Problem: All of these settings are not displaying at ...
0
votes
0answers
27 views

Creating a WordPress website using WP-CLI

I really struggling to work this one out, its about WordPress / WP-CLI & BASH. Heres my script: if [ ! -f ".env" ]; then touch .env echo -n "Enter the DBNAME and press [ENTER]: " read ...
0
votes
0answers
11 views

Two pot files in the same directory?

i have two pot files in your-theme/languages directory admin-theme.pot theme.pot i can translate theme.pot (pl_PL.po and pl_PL.mo) its working but i want to translate admin-theme.pot too. How should ...
0
votes
0answers
11 views

Devices mockup not working

I am developing a theme in which i want to add mockup on every page , so i am using device mockup plugin . But it is not displaying the device frame . I have the latest wordpress install with my theme ...
0
votes
0answers
44 views

Broken theme crashed my site, unable to install new theme

The website for my student organization crashed because the theme broke (I think). Now the website displays a blank white screen and I don't know how to fix it. The page information and data is still ...
0
votes
0answers
30 views

How to remove Pages links from nav menu?

I've been looking at and trying themes for a long time, and found several that I liked except they make a menu bar listing all Pages. I built an "About" menu with three specific pages on it. I don't ...
0
votes
0answers
64 views

Integrate Stripe api into Bedrock/Sage theme

My question is how do i get WordPress to recognize my new class so i can use it in my charge-card.php AND how do i get it to load Stripe in my actual class, using doesnt seem to work. I'm pulling in ...
0
votes
0answers
24 views

How to Solve the Wordpress Cron Job Site Slow down Problem?

The Cron job has more data's which creates entry everytime when a page is loaded. So i tried to get a solution by searching about it. I got some clarifications. But no solution for my problem. Many ...
0
votes
0answers
54 views

Getting Cheatin' Uh error when attempting to do anything theme related

I'm getting the "Cheatin'uh" error message when I try to preview or customise themes in any way, which is really rather annoying! I have done (or rather my techie husband has!) the following, based ...
0
votes
0answers
137 views

How to use wordpress from behind a proxy?

I wanted to learn wordpress so I installed it on my computer which runs Ubuntu 15.10. Since I use my University network, I have to access net via a proxy server. So I wrote the following lines in my ...
0
votes
0answers
96 views

Problem Cropping Images From WP Customizer

Getting the following error. There has been an error cropping your image. The issue happens only with this one theme, and only with the customizer. The cropped image is in the media directory, ...
0
votes
0answers
24 views

Overwrite Plugin jQuery in Theme/Childtheme JS

I have a Plugin with the following jQuery: //focus search box if specified if(hkbJSSettings.focusSearchBox){ jQuery('.hkb-site-search__field').focus(); } I know I can comment this out, but I ...
0
votes
0answers
63 views

WP .htaccess to ignore files outside folder

I am using cPanel, and in my /public_html folder I have installed WordPress. Other subdomains are added in the same /public_html where WordPress is installed, e.g. /public_html/folder, /public_html/...
0
votes
0answers
31 views

WPMU: How to debug themes throwing 404 error

Changes in the system: Domain name DocumentRoot of the web server to match what it was set to before Siteurl, home and fileupload_url all changed in the DB tables to reflect the new domain What ...
0
votes
0answers
21 views

long time charging page with woff fonts

I need to improve my charging page time. I saw that the problem is about woff fonts that take long time (about 15 sec). How can solve it?
0
votes
0answers
49 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
0answers
33 views

How to correctly enble tinymce and change style on frontend?

I'm using bbpress on a dark theme http://azerothshard.ga/forums/ I've enabled tinymce in bbpress using guide from its official codex but it uses the default skin that is white and doesn't fit my ...
0
votes
0answers
12 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
1k views

Divi slider images not appearing

I've been using the divi theme for my website, and all of a sudden the images in the sliders haven't been appearing. In the html the image is there, but it's opacity is set to 0. Also, the slider ...
0
votes
0answers
113 views

How to hide theme and plugin directory from page source using htacces?

I am using WordPress latest version. Theme name and some plugins name are showing in page source. I don't want to allow visitor to access the information for security reasons. I want to hide the /...