Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [themes]

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

0
votes
1answer
41 views

Reason to add a name of the theme like ('menu-1' => __( 'Primary', 'twentynineteen' ),) in PHP?

Sorry for this novice question. I'd like to know why WordPress themes add their theme names many occasions in PHP files (e.g. where 'twentynineteen' is repeated below, this is from functions.php in ...
0
votes
2answers
17 views

Re-zipping or extracting theme from wordpress site files

I have all of my source file from my old WP site that I have from backups and a CPanel dump where I was using the Avada theme. I have all the theme files and whatnot, but is there a way I can extract ...
0
votes
0answers
18 views

Default style of a button in WordPress Gutenberg

I'm trying to change the default style of a button with the following code: <InnerBlocks template={ [ [ 'core/button', { text: __( 'Add text', 'xf' ), className: 'is-...
0
votes
0answers
30 views

Remove style id inline CSS in WordPress

When I fix CSS error in my site I can't find these errors. How can I find this CSS in my site? <style id='onetone-main-inline-css' type='text/css'> When I check it show many errors in CSS so ...
-2
votes
3answers
35 views

How can i remove footer credit text

My website has footer credit which is really hard for me to hide or remove or replace please help me , I'm using painting theme from themeforest. I even tried this also: .site-info{ display:none; }...
0
votes
0answers
11 views

How to save and retreive an array from checkbox list in Theme Options [closed]

I am developing a very simple WP theme and I wonder how could I get this functioning. The main goal is to save the value of the selected checkboxes and retreive it in the front-end footer to load the ...
0
votes
0answers
34 views

Warning: sizeof(): Parameter must be an array or an object that implements Countable in meta.php

I have a WooCommerce WordPress Theme installed. The error is shown on all products pages, Here is the error: Warning: sizeof(): Parameter must be an array or an object that implements Countablein C:\...
0
votes
0answers
19 views

REQUIRED: The theme uses the register_post_type() function, which is plugin-territory

I am developing a car rental theme, but I encountered a big problem, when I upload the theme I get the "REQUIRED: The theme uses the register_post_type() function, which is plugin-territory" the ...
-1
votes
0answers
11 views

Theme previewing during registration Multisite

so I'm working on a project where users can register their own sites with multisite. In the registration process, users can choose what theme they want for their site, so I wanna know if there is a ...
0
votes
0answers
11 views

Filter for widget media image

There is a filter for "widget_media_image"? I'm trying to add new attributes using preg_replace but i can't find the correct filter for this widget.
0
votes
1answer
12 views

Minor changes on theme per subdomain - same contents

I would like to run a knowledge base based on wordpress, main URL will be docs.product.com but i would like to see minor changes on the theme when url is different, f.e other.product.com, other2....
1
vote
0answers
18 views

Wordpress website Rs changed to currency symbol

I have a wordpress blog website and all of a sudden in all of our blogs Rs has been replaced with a hindi currency symbol. I have tried checking out theme settings or any update in code which ...
0
votes
1answer
14 views

Image sizes reset when changing theme

Is there a way to prevent my image sizes in media settings from changing when I switch themes? This doesn't seem like it should be a normal thing but it is happening! thanks
0
votes
0answers
15 views

Can't preview themes even though all of my pages are published

When browsing themes, I get the following message: Sorry, you can’t preview new themes when you have changes scheduled or saved as a draft. Please publish your changes, or wait until they publish ...
0
votes
0answers
16 views

How can I not disable my theme when I want to upload a new version of it?

I am creating my own theme but I frequently make changes. When I try to upload a new version of the theme it sometimes ignores the changes or I sometimes get two themes or on the file system the theme ...
0
votes
0answers
21 views

PHP 7.2 Upgrade Issue: Published Date Showing As Current Date on Front-End of Posts

So we recently noticed that the post date on our posts is showing up as the current date. For example here: https://www.chrisapappas.com/2019/02/11/grammys-2019-best-dressed/. All our posts are ...
0
votes
1answer
17 views

Jetpack CSS .screen-reader-text breaks mobile menu [closed]

button.screen-reader-text.font-secondary on https://www.evwe.ch is not visible thanks/due to the Wordpress Jetpack CSS .screen-reader-text definition. Hence, the menu is not visible on mobile devices....
0
votes
2answers
27 views

How to get current template file used by WordPress?

Consider I've 3 template files archive.php archive-books.php common.php <-- required_once by both archive.php & archive-books.php So whether archive-books.php or archive.php is being ...
0
votes
0answers
9 views

Is it possible to update a theme remotely through zip upload or post editor changes?

I'm working in the context of design suite of tools and I'd like to be able to update the theme remotely via updating styles.css, index.php or uploading the theme.zip with a new version. Is this ...
0
votes
1answer
49 views

How to find file that placed a line in my header

I am having a line of code in my header that I can't seem to find where it is coming from, checked both files and database, am sure am missing something, are you guys aware of any methods to find for ...
0
votes
3answers
25 views

I have Wordpress setup on primary domain, how do I set it up on its subdomain using the same database?

I have a site www.domain.com with Wordpress installed. I need to create a subdomain for testing a new theme and have it linked to the main site's database. I have manually added the Wordpress files ...
0
votes
0answers
20 views

Menu doesn't open on mobile

I'm developping a website and I have the following issue: I am using version 5.1.1 of WordPress with the latest version of the Phlox theme and the Elementor page builder version 2.5.10. I use the ...
0
votes
0answers
16 views

generate_rewrite_rules is not working in functions.php

I am using the following code in the functions.php file. But it is not working, I mean the output of the var_dump is not being shown. // Rewrite endpoint to create virtual pages. add_filter( '...
0
votes
1answer
19 views

problem with my my theme “search.php”

when I try to search something it shows me that I have an error in line 9 The code on line 9 on my page "search.php" of my theme <div class="p-title"><h2 style="background-color: #1AB3EE;"...
0
votes
0answers
12 views

Is it necessary to network enable both the parent and child theme for multisite installations?

for multisite networks, is it necessary for me to network enable both the parent and child theme if I'm only using the child theme in my sites? Does it cause my site to slow down if I have more ...
-1
votes
1answer
22 views

Page structure using The Customizer Api

so I'm trying to customize themes using The Customizer Api, and I've noticed that I can only change the css, is there a way to control the page structure and layout (HTML) ?
0
votes
1answer
36 views

How replace theme styles?

I have some theme. I am running shortcode for my plugin in some page like this: [my_plugin_code atr="1"] But all styles is import from CSS theme. I want my custom CSS. How to do it without ...
0
votes
0answers
24 views

Theme CSS missing completely

Run into a bit of an issue with our WordPress site, and can't for the life of me work out why it's not applying the CSS to the site! Our website is https://beecityliving.co.uk/ and we're using ...
0
votes
1answer
19 views

How do I set up XAMPP to allow me to download plugins and themes?

It's been a very long time since I used Wordpress and I am getting back into it. I have installed XAMPP on my Mac (10.14.2) and have successfully installed Wordpress 5.1.1. However, I cannot figure ...
0
votes
0answers
11 views

Local Elementor Development - Layout/Images sized differently in site preview

I'm new to WordPress development and have been enjoying playing about with Elementor making my first website, however I'm having some trouble with the display of images in a carousel. In the ...
4
votes
1answer
63 views

How to use same theme template for multiple taxonomy terms?

How would I use the same template file for, say three specific taxonomy terms but not the remaining three? I know taxonomy-taxname.php is the file for all terms I know taxonomy-taxname-termname.php ...
0
votes
1answer
23 views

Posts as filtered list - expandable

I would love to achieve something like on Miranda July's Website for my architecture firm website. Very unsure where to start. Does anyone know a theme that has similar functionality, which I could ...
0
votes
2answers
50 views

How to implement this layout?

probably a long shot, but here goes: for a WordPress portfolio site, I’m trying to build a project overview page with a layout similar to this: http://www.innauer-matt.com/ Each row of images is ...
0
votes
1answer
28 views

Wordpress 5.1 upgrade has lost the parent theme JavaScript

I have just upgraded from Wordpress 4.9 to 5.1, which obviously comes with Gutenberg. One major problem I have is that the parent theme (BeTheme) JavaScript is not being loaded and instead the child ...
0
votes
0answers
26 views

Slider in Customizr randomly lose content

I have a problem concerning a Slider in Cusomizr (WP theme). Only in Chrome and Safari on particular Computers I obtain bizarre error. It looks like this: The content of a slider becomes grey, ...
0
votes
1answer
107 views

Error when using 'continue reading'

Using theme 'Twenty Ten' and recently the "Continue reading' at the bottom of a post no longer goes to the text, but ends up on an error page. Where can we fix this issue?
0
votes
0answers
22 views

Wordpress customizer extremely slow, cant work in it

I have been adding a couple of settings to my Wordpress admin using this code: $wp_customize->add_section( 'sectionname' , array( 'title' => __'Name', 'priority' => 80,...
0
votes
1answer
19 views

Wordpress 404 on style.css but not on all pages

I have noticed an issue when running a site audit on all of my websites using SEMrush I picked up the error: issues with broken internal JavaScript and CSS files Examples https://stage....
0
votes
0answers
23 views

How to Experiment with Multiple Wordpress Themes?

I'm making a WordPress site for a friend, but my friend doesn't have his mind made up for a theme. I'm worried if I decorate his site with some theme, he won't be satisfied with the theme I chose. ...
0
votes
1answer
31 views

Why submenu item's background color is not changing by css?

I am developing child theme based on Accelerate by ThemeGrill. I am trying to change submenu item's background color. However it is not affacted by any selector. I have tried to add following to ...
0
votes
2answers
22 views

Delete page titles

I'm making a website with the Primer theme, and it includes a big bar with the title in huge letters across every page. I prefer the titles be in the body of the post, so I want to delete the title ...
0
votes
0answers
9 views

How to add pagination attribute in title and description?

I have an issue with Alidropship theme: I can't find how to add "- Page2" in the body of title and description, like in Yoast. How can I implement this function avoiding Yoast plugin installation? Is ...
0
votes
1answer
10 views

How to update theme to specific version

Our current WordPress version is 3.8.28 and the theme Twenty Twelve Theme version is 1.3. Now we would like to update the theme to 2.8 version. Is it possible to update the only theme? if yes how ...
0
votes
0answers
10 views

I want to add plugin files in wordpress theme directory

I added a few lines code in plugin. I want to add that plugins file in wordpress theme to avoid to be overwritten when there is an update. How can I do this?
0
votes
0answers
13 views

themes error/plugins - warning prompt

I'm getting the below error: Warning: include(/inc/theme-import.php): failed to open stream: No such file or directory in /home/malayast/public_html/wp-content/plugins/benten_plugin/...
1
vote
1answer
21 views

Bulk activate a theme on multisite

I have a multisite and a new theme that needs to be activated across all subsites. I found an answer by fuxia from 2012 and would like to know (1) if there have been changes in WordPress since that ...
0
votes
2answers
16 views

How can I theme or style the lost password page without a plugin?

So I want to apply a theme and style the lost password page without the use of a plugin. I don't want it to show the default Wordpress lost password page. I managed to style the login form by ...
0
votes
2answers
66 views

How to avoid loading style.css twice in child-theme?

I have twentyseventeen child-theme, and I found this code: add_action( 'wp_enqueue_scripts', 'child_enqueue_styles',99); function child_enqueue_styles() { $parent_style = 'parent-style'; ...
0
votes
1answer
27 views

PHP Error in Wordpress Theme

So I'm having some issues with an AWS multisite hosting of wordpress. Every couple of weeks my entire instance of websites goes down. The first time it happened I was getting 500 errors so I just ...
0
votes
0answers
18 views

(Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme

I'm a WordPress developer but this one has left me scratching my head... I've got a parent theme and a child theme. Works great on my local machine, and was working great on my live server. However ...