Stack Exchange Network

Stack Exchange network consists of 174 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

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

1
vote
0answers
38 views

Plugins and Themes cannot be activated or deactivated

Background I am running WP 4.9.8. I setup a new site in my WP multisite network recently and I can no longer activate or deactivate any plugins or themes at the site level nor can I network-activate ...
0
votes
0answers
13 views

paginate_links pagination with new variable pg

I would like to add new parameter "pg" as page number with help of paginate_links(). My website: https://www.dealfinder.lk/search/?deal=happy-hour&pg=2 Here is my function : echo ...
-1
votes
0answers
7 views

Splitting returned values in a foreach loop into 2 columns [on hold]

I have been having an issue splitting values within my foreach loop into columns and styling them. This is self contained within my custom theme. I am pulling 7 attributes through from Custom Fields ...
0
votes
1answer
15 views

White space between products and navigation menu

I can't remove the white space between Home → Furniture and The 'sort by' bar. I am very new to wordpress and I'm not sure where to post this query. I have tried adding some css but not sure where to ...
1
vote
0answers
12 views

Woocommerce StoreFront Showing Incorrect Subtotal in Customer Total

I am using StoreFront with Woocommerce, very basic as I only have one product with variations. The product is 'CESAA Membership' and I have 6 variations...the issue I am facing can be explained with ...
0
votes
0answers
26 views

Tweaking custom post attribute sortation

I've set up a custom field called "Priority" for posts in my Wordpress theme. They're basically integer values that the user can set, which are used in operations elsewhere on the site, and are ...
0
votes
1answer
13 views

using themename_the_custom_logo() in template-tags?

I am trying to learn how to create a theme for wordpress so i looked at the default theme 'twenty sixteen'. I was crawling around it and searching everything that i find strange then i saw this code ...
0
votes
1answer
15 views

Editing the Swift theme style.css to add a logo in the header [closed]

I'm having a bit of trouble adding a logo to my Swift themed WordPress site. I have found the header code in the master style.css but was wondering how I'd go about adding the logo. Listed below is ...
0
votes
0answers
11 views

WordPress Directory And Quotation Engine [closed]

I am turning to the forum as I spent hours looking for a solution, but just couldn't find what I am looking for. I want to build a website with similar functionality to: https://www.bercert.com/, ...
0
votes
3answers
23 views

How to deactivate the text, that appears, when you hovering over topbar tabs? [closed]

I want to deactivate the text, that appears, when you're hovering over topbar tabs (I've marked it red in the screenshot). Im using the Oshine theme. Greetz
0
votes
1answer
30 views

Removing an Action in a Parent theme from a child theme [closed]

I am currently working on a website, which has the following Folder Directories: parent_theme/inc/functions/tgm-functions.php parent_theme/inc/plugins/class-tgm-plugin-activation.php I would like to ...
0
votes
1answer
19 views

How Do I Find & Remove H1 From Site-Title-Wrapper? [on hold]

Good Afternoon, I am having difficulty removing a duplicate H1 tag, which is located in my Site-Title-Wrapper, per source code. When I access "Edit Theme" and load the "site-title.php" I can see the ...
0
votes
1answer
24 views

Problem: Fatal error worldpress theme

I just install a new theme in my WordPress site but im having a problem. I can't access my page anymore. Even the WordPress dashboard. The error message: Fatal error: Cannot use isset() on the ...
3
votes
1answer
92 views

What is the first file wordpress looks at in a theme?

I've inherited a theme and am trying to get my head around a plugin failure. There is an index.php file in the root of the theme, is that the first file wordpress will look at when it attempts to ...
-1
votes
0answers
15 views

Elaborating on implementing webdesign into wordpress (in a theme?)

I have searched the community for the right corner to ask this question and hopefully I am right here - if not, please inform briefly and I will take my stuff and go where recommended. Here is my ...
0
votes
0answers
16 views

fatal error: class 'wc_widget' not found [closed]

So i was trying to fix a problem with the shopping cart, and the steps i followed included deactivating the plugins in wordpress, and as soon as i did it, the page refreshed and this appeared: fatal ...
-1
votes
0answers
13 views

Appearance - Editor not updating. Please help

I have contacted the hosting server (siteground). They have cleared the cache three times now and checked the proxy as well. I have cleared my browser cache, plugin cache as well. Cleared cache using ...
0
votes
1answer
27 views

Separation of presentation and code - Wordpress

I would like to get max amount of info on how the Wordpress implements the separation of presentation from code. I know that there is themes that one can load through the admin, but how does this get ...
0
votes
0answers
11 views

Visual Composer error

Im using Visual Composer as an editor and Multilanguage by BestWebSoft. everything seems to be fine but when I add the same styles as borders, background colors etc through Visual Composer shows up ...
0
votes
0answers
27 views

Avoiding do_shortcode() loops

I have a situation with a custom theme I'm developing that creates custom widgets made to accept shortcode. Issues arise though when that shortcode evokes shortcode of its own. The potential arises ...
0
votes
0answers
8 views

variables or functions that return simple strings (class names, urls…) for quick customisable theme productions. Good idea?

I would like to have like variables or functions that only hold string data.. or maybe minor functionality, set at the start of the functions.php file. For example a function holding multiple class ...
0
votes
0answers
28 views

wp_get_theme() works fine, but wp_get_themes() returns empty array

I am writing a code snippet for use in ManageWP, to extract some of the more basic audit info. In the snippet, wp_get_theme() works fine, and returns correct info about the theme, and can be used to ...
0
votes
1answer
46 views

How to stop a 500 error on the WordPress theme folder

Google search console is complaining that my WordPress theme folder returns a 500 error. You can see it here https://www.dailywritingtips.com/wp-content/themes/dailywritingtips/ Curiously many ...
8
votes
1answer
204 views

How to move page template files like page-{slug}.php to a sub-directory?

I want to move page template files like page-{slug}.php to a sub-directory within my theme, in a way that WordPress will recognize them automatically. If the page templates of the said form doesn't ...
-2
votes
0answers
15 views

Translate homepage of a WordPress site

How can I translate titles in the homepage of a WordPress site? Like "TENNIS" and "CYCLING TOUR" in the following screenshot:
-1
votes
0answers
24 views

How to add next button to my paginated post in wordpress

Please my wordpress post is already paginated, but it's just numerical. I want it to be showing nextpage instead of numbering the pages in the post. See my post here.. https://omgbase.org/27-photo-...
0
votes
0answers
13 views

Images zoomed in on Related Post section

I am using 'The 7' wordpress template and the Related Post section, included with the template, sometimes show zoomed in images. It seems that happens when I scroll down the page very quick right ...
2
votes
0answers
22 views

Hook into theme-switching later than `setup_theme`

I need to add a theme-switching logic to a site. Unfortunately, what I've tried already doesn't seem to work as required. The themes needs to switch based on whether the user is on the blog part of ...
1
vote
1answer
20 views

wp-cli: For development, how can I activate a theme that is on the local disk but not zipped?

I am developing a WP theme which I'm referring to as foobar for the sake of this question. It's located in /var/www/html/wp-content/themes/foobar. At the moment, I am activating it via wp-admin ...
-1
votes
0answers
40 views

How can I remove the WooCommerce shopping cart icon from a vertical navigation “header” in Divi

I'm using the latest Divi theme (3.12.x) and WooCommerce plugin on my site. I'd like to remove the WooCommerce shopping cart icon from my header. When the header is configured to display ...
0
votes
2answers
30 views

Moving FB comments at the end of page

I am using plugin "wpdevart facebook comment" for posting comments at the end of every post. They are displaying good But now I want to shift those comments little below of pagination and ads Or at ...
0
votes
0answers
34 views

Remove action not working in theme

i am building a custom theme and i now have to remove entry footer from it. I am trying to get this using custom hook i made. the code i am using to remove it is add_action('after_entry_content', '...
0
votes
1answer
9 views

How to narrow the area between buttons on Helium theme sidebar? [closed]

I have WordPress based site. I used Helium theme and added a sidebar. On this sidebar, I added a few buttons from SiteOrigin widgets plugin. The buttons are being spaced between them automatically, ...
0
votes
1answer
21 views

Missing privacy policy checkbox on login page (using Enfold theme)

I have strange behavior as of late. Whenever I need to log in again on my site (https://exchangecomparing.com/login/) I get the following error message: "You must acknowledge and agree to the privacy ...
0
votes
2answers
22 views

How to set Post meta-box defaults based on the choices made by user in Customizer?

I have a radio control in the theme customizer. The code for that control is like below: $wp_customize->add_setting( 'post_layout', array( 'capability' => 'edit_theme_options', 'default' =&...
0
votes
1answer
29 views

Remove specific plugins and themes from the Dashboard->Updates page [duplicate]

Is there a way to remove specific plugins and themes from showing up from the WordPress Updates page?
0
votes
1answer
24 views

Adding custom html/css/images to Theme

I have a small header-of-sorts that's in a html file, with its own css file and a folder of images (svgs). I'm basically trying to put this on my site in the header, so I made a child theme and went ...
1
vote
0answers
11 views

WP_Comment_Query - Get comments and answers separately

I was developing a theme and this time I chose to use the bootstrap4, I found some difficulties in the way but I managed to solve them and the result was satisfactory, however creating my comments.php ...
0
votes
2answers
29 views

How to delete default themes

Is it possible to delete the default Themes (Twenty Eleven, Twenty Twelve, Twenty Thirteen …) automatically … or - even better - disable the automatic re-installation on when updating WordPress? I've ...
-2
votes
1answer
18 views

In what PHP file the definition of the function rh_show_vendor_info() would be?

can anyone tell in what PHP file the definition of the function rh_show_vendor_info() (its the function of Rehub theme) would be? Any tool to find it? String locator not working for me.
1
vote
0answers
22 views

CSS for triggering Avada toggles using an image or clickable element [closed]

I'm looking for a CSS code for triggering Avada toggles using an element other than the toggle’s own button? I just want to be able to open and close a series of toggles with my own custom buttons. ...
0
votes
0answers
14 views

Reset wordpress theme

Can somebody inform me on how to reset a theme? I have used a custom theme before and already deactivate it but it seems the configuration is hooked with the new installed theme :/ thanks
1
vote
1answer
12 views

My menu bar dissapeared with autooptimize [closed]

After setting up auto optimize my menu bar is gone. You can still click the buttons where they would be but it is invisible. Please help. This is a production website I can't have it like this for ...
0
votes
0answers
41 views

replace the WooCommerce Bookings default input number box with the theme one

So I have an online store that uses WooCommerce Bookings for bookable products. I am using the popular flatsome theme. The problem I have is when I have a bookable product it uses the default ...
1
vote
0answers
14 views

Linux Permissions and Ownership for WordPress

I installed WordPress via ftp upload to our server using my ftp user account. This account is different than the user that runs http/Apache. I am now trying to install themes and plugins and I am ...
0
votes
0answers
25 views

Divi Blog Module Plugin and YOAST SEO “Primary Category”

I am using the Divi Template and have YOAST SEO installed. YOAST SEO has the great feature to assign "Primary Categoy" should a post have more than one category. Now the Divi Blog Module offers that ...
1
vote
0answers
25 views

posts comments goes to trash

My website was working fine until today, I just discovered that all comments made goes straight to trash. I did not install new plugins, I don't have akismet. It just started. I have deactivated all ...
1
vote
1answer
25 views

Investigating complex themes still slow even with WP caching

When using a complex WP theme alongside a WP caching plugin, there seems to be minimal performance improvement. Switch to a simple theme and your site performance improves dramatically. QUESTION: May ...
0
votes
1answer
31 views

how to add navigation icons in specific template?

I am developing a website for real estate and i stuck with a problem in my website. I want to add a page specific menu for page navigation with icon like 99acres.com and I am unable to understand ...
1
vote
0answers
18 views

Wordpress site periodically goes down

my site https://mediatrends.me/ periodically goes down. It works fine and then all of a sudden any page becomes unreachable in every web browser. "site can't be reached", etc. After a few minutes it ...