All Questions
2,955 questions
0
votes
0
answers
21
views
Pages still display when theme is missing
I'm having problems with a custom theme and pages on the front end other than the home page displaying:
There has been a critical error on this website.
This error message is displayed on an error ...
0
votes
0
answers
23
views
Visited wordpress appearance > theme page and theme disappeared
I went to the Appearance > Theme page, literally did nothing else, and my theme on the site disappeared and site picked up the wordpress default.
The theme is not shown in the theme page any longer....
0
votes
0
answers
16
views
Apply Blog Home layout to Pages
In WordPress 6.7.1, I have customized my Blog Home template with the block editor in the Twenty Twenty-Four theme. It has a layout with two columns and many custom paddings, colors, fonts, and so on. ...
0
votes
0
answers
15
views
how to combine wordpress and front framework
I saw this website kzero and they make 3D websites with WordPress, using the WordPress API. Can anybody explain which framework they use and how?
0
votes
1
answer
19
views
Apply Style variation to specific pages
I notice wordpress themes come with the ability to have "style variations". Can one apply a style variation to a specific "page/ post" as oppose to a block or section or global ...
1
vote
0
answers
20
views
Does WordPress maintain revisions for index.html template?
In FSE, all templates except the Index template maintain revisions.
But I cannot see the revisions option for the Index template:
The problem is that many of our clients who are not very familiar ...
1
vote
0
answers
41
views
How to add custom attributes to wordpress block theme
I am creating a wordpress theme wth html and jquery. I want to add a data attribute to my pattern so that I can use jquery to control the behaviour. When I add a data attribute to my code, I get an ...
0
votes
1
answer
35
views
Custom page template from plugin does not work with pre-installed themes in WordPress 6.6.1
So I have a simple Wordpress plugin that just allows me to use custom page templates. Here's the code:
my-special-template.php
<?php
/**
* Plugin Name: My Special Template
* Description: Awesome ...
0
votes
2
answers
90
views
Full Site Editing, Block Theme, Gutenberg, Site Editor
With all the different names and ways to edit a WordPress site I'm a bit lost as how to future proof my theme.
Let me explain a bit...
First off, I use WordPress professionally at my job, I use it as ...
0
votes
1
answer
36
views
Tried to install new theme
so i tried to switch the theme out and now i see this (IMG 1) then i try to go to the appearance section (just thinking its a theme error) then i see pic 2, and 3
image 1
image 2
image 3
When I tried ...
0
votes
1
answer
31
views
what use have double styles in index.html?
I'm trying to understand how themes are constructed. One of the themes I've read has this in its templates/index.html:
<!-- wp:template-part {"slug":"header","theme":&...
0
votes
1
answer
17
views
WordPress commercial theme cancels default functionality
I built a site with a WordPress commercial theme which has prebuilt portfolio-type custom posts. These posts have a couple of preset custom fields from the theme developer, to which I want to add some ...
0
votes
0
answers
19
views
css on body tag in editor
I have a background-image that I apply on the body-tag inside the style.css like this:
body:not(.wp-admin) {
background: url("…") no-repeat fixed;
background-size: cover;
}
But it is ...
0
votes
0
answers
21
views
How can i change the class of a post from a theme?
According to this link…
https://developer.wordpress.org/reference/functions/post_class/#Add_Classes_By_Filters
…i can add a filter to change the class(es) of a post. How can I do this from a theme? I ...
0
votes
0
answers
24
views
How to Add Dynamic Sliders to WordPress Customizer with JavaScript
I'm currently working on a WordPress theme where I need to add dynamic slider controls in the Customizer. My goal is to have three default slider controls and provide a button that allows adding new ...
0
votes
1
answer
32
views
Upgraded php & wordpress but theme broke
I just upgraded wordpress from v3.3 to v6.6 and PHP from 7.2 to 8.2. Once upgraded my wordpress theme just break and I have no idea how to fix this since it worked on the older version. The error ...
0
votes
0
answers
27
views
Export/Import Blog Post from and to sites with different themes?
I've got a Multisites Wordpress Instance running on my server. On there I've got a Wordpress Site which uses the Avada Theme and on that site I've got about 200+ Blogposts. Now it was decided to ...
0
votes
0
answers
82
views
How can I add a new Styles option in Wordpress 2024 theme?
The Wordpress 2024 theme allows one to choose from a range of pre-defined styles from the full site editor (editor -> styles), with a choice that impact the entire website. One can further ...
1
vote
1
answer
30
views
What is considered good practice for registering menu locations?
I decided to try my hand at creating my own WP theme from scratch. I've made a header, a navbar, and a footer so far. I've also registered a couple menus, so my navbar will be populated automatically ...
0
votes
1
answer
56
views
How to create new title and its description inside a section in WP Customizer?
Actually, I want to add a new title General settings with a small text description of it in a new section that I've created in the WordPress Customizer.
The section is already created and works well, ...
0
votes
1
answer
37
views
Migrating a Bootstrap 3 Website to WordPress
I'm in the process of migrating a legacy Bootstrap 3 website with around 300 pages to WordPress. I'm planning to use GeneratePress as the theme and WPBakery Page Builder along with some additional ...
1
vote
0
answers
22
views
Draft theme editor changes
Like a new post, where I can make changes and save it without publishing with the draft button...
Can I save the changes in the theme editor as a draft so that when I have everything done I can ...
0
votes
0
answers
56
views
How to add multiple custom blocks in custom Wordpress theme using create-block?
I want to add multiple custom blocks to my custom wordpress theme using create-block package.
In my root folder I initiated package.json by running npm init -y and added wp-scripts as a dev dependency....
0
votes
1
answer
359
views
How do I remove the hamburger menu from the Twenty Twenty Four theme?
I'm trying to remove the hamburger menu from the Twenty Twenty Four theme while in mobile view and have the navigation appear at the top of the page vertically.
I'm able to remove the hamburger button ...
0
votes
0
answers
31
views
Make it easier to add, change, and update pages on existing WP website
We're an all-volunteer nonprofit with a 70+ page WordPress website in each of 3 languages: https://www.kotorkitties.org. We're happy with the look and content we have, but struggle to add new content,...
0
votes
1
answer
62
views
Export Wordpress theme with modifications for other site
I purchased wordpress theme.
No i have upoloaded it on new site and modified it as i wanted.
Now i want to use that theme in my all sites.
Problme is theme also saves its oevrride stuff or ...
0
votes
1
answer
29
views
Newspaper theme, custom query vars, & custom rewrite rules
I'm aware this may be incredibly simple, but I've just never happened to need to know this until now.
I am using custom query var and rewrite rule as follows:
$queryVars[] = 'my_query_var';
...
0
votes
0
answers
62
views
Twenty Twenty-Four: Static Front Page with Post Links
The post links show nicely in the edit (using blog home template writer pattern):
wp-admin/site-editor.php?postType=wp_template&postId=twentytwentyfour%2F%2Ffront-page&canvas=edit
The post-...
0
votes
0
answers
48
views
How to schedule Automatic Wordpress Core and specifics Plugins updates for specific time a day
Nowadays we are doing manually updates every 2 weeks in a test server, we test all plugins and if everything is ok. We deploy same file changes with Git in production server.
Sometime we found some ...
1
vote
0
answers
24
views
Custom Plugin not Displaying in the Website Production environment (Divi)
I built a custom plugin for a website Using Divi and I am facing a problem right now getting it to display in the production environment of the website. Here are the details:
Since you can't really ...
0
votes
0
answers
59
views
WP Update Messages get cut off during Theme update
I created a custom class for updating my custom theme. It has been working well for several months but the usual WordPress messages during upgrade get cut off when any upgrade process is running.
The ...
0
votes
1
answer
31
views
Themes admin page lists a theme, but it fails to delete and is not present on disk
When I go to the appearance admin page, it shows a whole bunch of themes that I don't need (for example the stock "Twenty Fifteen" theme), but when I go to delete them, it fails, saying:
...
1
vote
1
answer
66
views
Is it possible to create dynamic templates for block themes directly from the site editor?
For example, you can create a posts template within the site editor, but how do you make it so that the content for each respective single post displays dynamically?
Here's my single post template ...
1
vote
0
answers
51
views
Is there a way to enable horizontal margin for a specific block element?
Sorry in advance for my dumb question.
I am slowly learning the new WordPress core theme functions for blocks.
I admit, I am fairly lost 🤷🏻♀️ 😅 .
The title says it all, I am trying to add the ...
0
votes
0
answers
16
views
Can you tell me how can i replace posts from blog in below screenshort
Can you tell anyone how can i replace posts from blog in below screenshort. I have working on Avada theme and always i see an posts in place of blogs. can you tell me how to resolve this issue.
0
votes
1
answer
46
views
WordPress How To create Word document from theme and run it on new order created
I'm trying to make this functionality:
I have .docx template where I need to pass variables and save it in theme directory when WooCommerce order is created. But the problem is probably, that I'm ...
1
vote
0
answers
138
views
Block Theme: How to use a different template on front page vs paginated pages?
I'm using block themes.
I'd like the front page / home / index to show some extra blocks plus the list of blog posts. However, I want the paginated pages (e.g. /page/2) to not have these extra blocks ...
0
votes
0
answers
65
views
I added a rating system on my blog post but instead of stars it shows boxes
So yeah basically I hired a developer to help with writing a source code for a rating system to my blog. When I edit with Elementor it works out fine, but when I try to edit with the Gutenberg theme ...
0
votes
1
answer
45
views
Allowing users to install a predefined bundle of plugins and themes with one action
EDIT: Assuming one already has WP Core installed; would it be possible to offer a predefined bundle of plugins and themes made by various parties, which users could download, and then install in (...
0
votes
0
answers
48
views
Installation échouée : Le téléchargement a échoué. No working transports found
i already have that extensions
extension=php_openssl.dll
and i add the other extension
extension=php_curl.dll
and i still get this error when i want to install a theme
Installation échouée : Le ...
0
votes
0
answers
35
views
Trying to create a cutom query with pagination and page 2 breaking. Any help?
This is what I have tried so far:
<?php /* Template Name: Archive-posts */ ?>
<?php get_header(); ?>
<main id="primary" class="site-main">
<div class=&...
0
votes
2
answers
392
views
How to cancel style.min.css file?
I'm writing style codes for a WordPress theme. But the theme reads the style codes from the style.min.css file. I just want it to read from the style.css file. How can I disable it from reading from ...
0
votes
0
answers
78
views
Local WP site can't locate plugins or theme
I'm trying to recreate a WP site on my computer but it's missing all the plugins and themes. The folders exist in the project and I can see the menu items in the dashboard, but when visiting the ...
0
votes
0
answers
17
views
How to set something to added automatically to the post
I'm using the 2024 theme and just wanted to know if it has a feature which I can set something like a text to be added automatically after the first two or three paragraph of my posts.
The Astra theme ...
0
votes
2
answers
111
views
Override categories with Pages (block theme)
It seems to be a common question as to how to override an auto-generated category page with a manually-created Page when both exist at the same location
for example, /xxxx/ and /yyyy/ and /zzzz/ are ...
1
vote
1
answer
310
views
query loop "inherit query from template" prevents setting sort order
I need all auto-generated category pages to sort oldest-to-newest
I'm editing my "All Archives" template in block editor but I'm not having any success
it contains a query loop with "...
0
votes
0
answers
24
views
Why is wp_nav_menu() not removing the container around the nav <ul>?
I am trying to remove the <div> that wraps the <ul>, but when I set 'container' to false or '' the <div> still shows up. Why is it not being removed?
Example with false:
<nav id=&...
0
votes
1
answer
23
views
Changing Theme produced a problem on some pages
When I changed the Theme to Twenty Seventeen a few of the pages had the following text instead of the Header image:
Notice: Only variables should be assigned by reference in /var/www/wp-content/...
0
votes
2
answers
344
views
Gulp dev environment set up for Wordpress theme development
I am slowly learning about WordPress custom theme development. I red that many people seem to be using gulp.js to automate many tasks and I am now trying to figure out the "best" way to set ...
0
votes
0
answers
30
views
Category and tags are not working properly
When click on cateory or tag they diplaying all posts in the every category but every categpry have different posts.Please help how to fix this.
Using Blockkit Corporate Theme