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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

How do I get the trackback count of a post in wordpress without writing an SQL query?

How do I get the trackback count of a post in wordpress without writing an SQL query? I tried searching Brave Search and I couldn't find anything helpful. To fetch the amount of comments a post has, ...
user avatar
  • 101
0 votes
0 answers
13 views

Trying to access array offset on value of type bool - Cargo WordPress Theme [closed]

I use the Hatem template using xaamp and after importing the demo, this message appears on the home page of the site Warning: Trying to access array offset on value of type bool in E:\xampp\htdocs\...
user avatar
-2 votes
0 answers
12 views

My site looks bad on mobile [closed]

while my website looks as I expected on the computer, large photos are cut off on mobile and this makes the site look bad. Is there a way to change this or make the mobile view the same as the desktop ...
user avatar
0 votes
0 answers
12 views

How to put search bar & logo in the "primary navigation" storefront theme?

I'm using storefront theme for my shop, and here's the header I wanna put both the logo and search bar in in inside the primary navigation as I explain in screenshot.
user avatar
  • 1
0 votes
0 answers
22 views

Display a specific category in a focused area of my site

I've been trying to change the code of my WordPress site. Rather than showing "trending posts" which is determined by post_views_count, I simply want to show posts from a certain category. ...
user avatar
  • 1
0 votes
1 answer
18 views

Upgrade theme to be compatible with php 8.1 [closed]

When I upgraded PHP from 7.4 to 8.1 in DreamHost, the site stopped loading. DreamHost support said that, "the error was caused by the theme in use (cityguide-child/ Parent theme cityguide) not ...
user avatar
0 votes
0 answers
9 views

First click to blog title does not open the blog article

I notice when visiting my blog https://www.datanumen.com/blogs/ via iPhone. Sometimes the first click to the blog title, such as "11 methods to fix...", will not open the blog article. I ...
user avatar
  • 41
0 votes
0 answers
26 views

Change "published by"

https://i.stack.imgur.com/tHTdu.jpg At my blogg / news is this line is coming at a new post. I use norwegian as language and then I want to change the word I marked yellow. In english is "...
user avatar
  • 21
0 votes
1 answer
17 views

how remove font to increase site speed load

in my site(zamiin.ir) there are some font that slow my site speed . font fa-solid-900.woff2 two time load in my site ,one time in my theme and one time in elementor gtmetrix test: what can i do?
user avatar
1 vote
0 answers
26 views

Updates for a private theme

I wrote a own theme and I dont wanna deploy it by myself. The customer should do that himself. I found this solution for plugins. But it doesn't work for themes. Is there an alternative to add_filter(...
user avatar
  • 13
0 votes
0 answers
20 views

Change default Video Player without Plugin

We all know there are various types of plugins to EMBED Video Players. My issue is, that I have a Theme, which links the Videos only with a link and not with some kinda Plugin. Is there any possible ...
user avatar
0 votes
1 answer
23 views

Dynamically switch file in get_template_directory_uri() | Function [closed]

I need to switch scheme color of my WordPress theme trough Redux option panel. My plan is switch the CSS file trough get_template_directory_uri() | Function. The scenario is: Create 2 scheme color: ...
user avatar
0 votes
0 answers
94 views

How to fix Scrape key check failed on WordPress VPS?

I'm asking here because DigitalOcean support or forums have no idea what's going on. I create a LAMP server and the I installed WordPress. Everything was working ok, so I created a snapshot of the ...
user avatar
  • 55
0 votes
1 answer
18 views

Why am I getting a different filename? And how does WordPress load singular.php for both Page & Post? (Fresh WordPress installation)

I installed latest XAMPP & extracted latest WordPress to this path: C:\xampp\htdocs I activated default theme: Active: Twenty Twenty I created these: 1 Page called test: http://localhost:82/...
user avatar
0 votes
0 answers
26 views

conditional statement if wordpress theme block is empty then hide block

I need a conditional statement for the following for the WordPress block theme I am working on. if <!-- wp:group {"tagName":"main"} --> is empty then display none.
user avatar
0 votes
0 answers
9 views

Astra theme - cannot set short product description under the product title (product name)

I want to have following vertical structure on my products short description: Image->Product Name->Short Description. I've read that by default it is this order. This is the code I'm using: ...
user avatar
  • 1
0 votes
1 answer
29 views

Does wordpress templates always in files or in database?

I have theme and in header.php and I found this templates (see attached screenshot). But there is no content directory in template directory. Even I searched for those files (header-private.php and ...
user avatar
0 votes
1 answer
18 views

Any way to change/add to the theme name dynamically?

I'm currently working on a site with coworkers and our way, since we have only one staging, is to have 4 times the theme. The master branch in git, and we got each our version of the theme with the ...
user avatar
  • 788
0 votes
0 answers
78 views

Scrape key check failed. Please try again

I am not able to save the function.php file. I am getting one error Scrape key check failed. Please try again. I have disabled all the plugins even removed all the codes from the function.php file ...
user avatar
12 votes
1 answer
1k views

Prevent WordPress from automatically installing a new theme each year

Is there a setting for new disabling new yearly themes? Each year my WordPress installation automatically installs a new theme which I then delete. For example, this year the theme Twenty Twenty-Two ...
user avatar
0 votes
0 answers
9 views

Cannot change Wordpress site title on a staged site

I staged my site from domain "A" to domain "B" so I can do a theme upgrade. Then my plan was to push it live back to domain "A" (Doing backups of the original live "...
user avatar
0 votes
1 answer
36 views

Theme javascript/css 404

I have recently installed WordPress 5.9.2 on my VPS using Apache2 on Debian 11. I want to try some different themes (partially because I think the editor for the new Twenty Twenty-Two theme is clunky ...
user avatar
0 votes
0 answers
15 views

In Multisite Setups, how to update mass sections of sub-sites

I am looking for some guidance or direction when it comes to Multisite setups. Looking for any recommendation on a plugin, or idea of setup, where the master site could be setup to make edits to ...
user avatar
0 votes
0 answers
11 views

How to get this taxonomy name from wp_get_object_terms()?

So I have this code that shows me what's inside this object. <pre> <?php $id = get_the_ID(); $curerntpost = wp_get_object_terms($id, 'state'); echo var_dump($curerntpost);?>...
user avatar
0 votes
0 answers
113 views

Uncaught TypeError: extract(): Argument #1 ($array) must be of type array, null given

My WordPress site is using a custom theme written by a third-party. I am getting the white screen error on my pages saying There has been a critical error on this website. In attempt to diagnose the ...
user avatar
  • 101
0 votes
1 answer
24 views

Trying to link to a php template file but its blank

From this Stack Overflow qestion It shows a bunch of ways to make page templates. But I don't want to use a page template that uses Gutenberg. Is there another way to make a PHP file like a tos.php, ...
user avatar
  • 1
0 votes
0 answers
11 views

Elementor Sidebar not loading when PRO elements plugin is active

I am currently running into an issue on my site whereby the elementor plugin will not load in the editor view while the PRO elements plugin is installed The issue is that the theme and pre-built site ...
user avatar
  • 1
0 votes
0 answers
16 views

Is there a list of default generated Gutenberg block CSS? Unable to align video blocks

This is my first attempt at creating a theme for WordPress, I seem to have things working well for the classic editor, however, I'm having issues with the Gutenberg block editor. I'm trying to get it ...
user avatar
0 votes
1 answer
26 views

Disable Wordpress Theme Browser and Plugin Browser

Does the Wordpress theme browser have a name? I looked in its code and don't see something spesific and when I search Google I get other topics. To disable the theme browser and keep upload theme ...
user avatar
0 votes
0 answers
13 views

Let user to upload multiple time

I'm using the Superio WordPress theme and I want to add a feature to the theme but I don't know how! The default logic of the theme is like this: The user would log in to an account and would apply ...
user avatar
1 vote
1 answer
72 views

While creating Block Themes in Wordpress, how can I query custom posts for an Archive view?

I am new to wordpress .. so please be kind..:-).. I was excited that WP could be used without knowing a lot of PHP. So I've gone ahead and created a block design and created a theme.. and it seems to ...
user avatar
0 votes
0 answers
33 views

Sold out Label for variable products which are partially sold out

I have been experiencing this strange issue with a theme which is out of its support period, and I need some assistance in troubleshooting it. I have a lot of variable products, and when some of the ...
user avatar
0 votes
0 answers
8 views

Problem of not changing the front and bottom of the Woodmart template by activating the really simple ssl pro plugin in WordPress

When I enable the really simple ssl pro plugin in WordPress, I can not change the appearance of the Woodmart template settings. How can this problem be solved? This means that even changes in the ...
user avatar
0 votes
1 answer
58 views

porto theme pagination on woocommerce not working

here i use code shortcode of woo commerce and whenever i reload page pagination showed up then hide i used this code [products limit="12" columns="5" paginate="true" ...
user avatar
0 votes
0 answers
21 views

Please help me clear my confusions about WordPress

I am building a website in WooCommerce. What is most efficient way to replace the original theme site template pictures? Do we replace them with same size and pixel pictures and nothing wrong will ...
user avatar
0 votes
0 answers
27 views

How can I have two or more WordPress Pro (paid) themes that form a single website?

I am creating a social network website with Buddyboss as the central theme. I also want to have the freelancing features that Workreap offers. Other plugins like Gamipress also provide some additional ...
user avatar
  • 1
0 votes
0 answers
10 views

WordPress 2022 template, how to see the blocks added in post template on post edit?

I’ve created a post template in 2022 theme. In this template I’ve added an image block. I’ve assigned this template to the post. Where (and how) do I upload the image in the post edit? On Post edit I ...
user avatar
  • 121
1 vote
0 answers
33 views

Get name of current page template in Gutenberg era

In a block theme I'd like to be able to make some edits to the head meta based on the (block-based) page template used. The traditional get_page_template() doesn't seem to work as hoped in this case (...
user avatar
  • 472
0 votes
1 answer
28 views

How to copy page/post from one theme to another?

I was using default wordpress 2022 theme and created few post & page templates from Appearance -> Editor -> Templates. These templates are lost when I switched to a child theme. Is it ...
user avatar
  • 121
0 votes
0 answers
28 views

WP_Query Orderby meta_key and hide some meta_key

I have a code that it deletes the products marked as expired, and I now want to adapt a new product order system, but I am not able to know the correct order of the wordpress meta_query. currently my ...
user avatar
0 votes
1 answer
23 views

Not sure how to debug this npm install error. This is a wordpress theme that comes with a built-in gulp/webpack task automation [closed]

So I downloaded and installed this theme that comes with a built-in gulp/webpack task automation. I went over to the project folder (wp-content/theme/themename) and just ran npm install but I got this....
user avatar
0 votes
0 answers
17 views

Invalid content when I try to import custom post type from the old template wordpress

I changed my wordpress theme on December 2021, and Im still trying to import the custom post types of my old theme to my new one.Ive tried like 5 times, the only thing that is importing is the ...
user avatar
0 votes
0 answers
21 views

Two themes using a Multiple Themes plugin

Main theme is the Divi Theme builder second is the Discy theme ( Q&A ) I have set Divi as my home page no problem I added page called forum for Discy . In order to use Discy home settings it has ...
user avatar
0 votes
1 answer
30 views

How to update mark-up of a gallery block in a custom theme?

I’m developing a custom WordPress theme and it’s my first time working with WordPress in a little while. I can see the post and page editor has been completely overhauled, and posts and pages can be ...
user avatar
0 votes
0 answers
18 views

Unknown theme modal source

I am building a site with WordPress theme I bought. I have a modal window that is popping up every time page loads and I do not know where is it coming from. Does anybody know what is this?
user avatar
0 votes
0 answers
18 views

Create automatic latest version link

I don't know if it's the right place for this question but this just popped into my head... Is there a way to create a generic link that redirects mydomain.com/mytheme/latest to mydomain.com/themes/...
user avatar
0 votes
0 answers
47 views

error_log PHP error log found. This file must not be in the production version of the theme. (wordpress theme check plugin)

This appears when I check my theme but I can't see the error.log file. This is my wp-config configuration: // Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-...
user avatar
0 votes
0 answers
24 views

How to Access a file that is inside a plugin's dir from the theme's `functions.php` file

So basically I am trying to call a stylesheet file from a plugin's directory from the theme's functions.php file as follow: add_action( 'wp_enqueue_scripts', function() { wp_enqueue_style( 'style....
user avatar
0 votes
1 answer
20 views

Why does an ad page open when I browse my websites's wp-admin page?

While I try to edit my website via Wordpress and open any wordpress page after logging in, the page shows an ad page and I am not able to edit my website. The ad keeps appearing when I try to edit ...
user avatar
  • 1
0 votes
1 answer
17 views

Transclude/Import one wordpress page to another

I making a wordpress website with Divi as the theme. I know there is a way in mediawiki to import one page into another, it is called transclusion, not sure how to do this in Wordpress - I see there ...
user avatar

1
2 3 4 5
57