All Questions
115,394
questions
-4
votes
0
answers
8
views
Bintangslot77 Selalu Menjadi Alternatif Pemain Slot Online Dunia
Bintangslot77 Game slot online gampang menang resmi terpercaya & terpopuler dijaman sekarang
0
votes
0
answers
6
views
Unable to embed Webmail Login page
I'm trying to embed the 'Web Login' page in one of the pages of my website. However, there's an error saying www.domain.com refused to connect. I suspected that this is due to server misconfiguration ...
0
votes
0
answers
12
views
Custom Block: Adding "Post Type" dropdown to Sidebar Settings
I'm pretty new to React, so I'm trying to find the simplest and most PHP-based way to achieve my goal.
What I've accomplished so far
Created custom blocks using the @wordpress/create-block package.
...
0
votes
0
answers
28
views
How to short circuit a wordpress query that is not related to posts?
How to short circuit the below query via hooks such that the query is not run based on a condition? I tried using pre_get_posts filter but that is for posts queries only. The query runs as a part of ...
0
votes
0
answers
39
views
How to speed up WP_Posts_List_Table __construct() Query on a wordpress website with over 1 million posts?
On a website with over 1 million posts, the following from class WP_Posts_List_Table __construct() is taking a long time:
SELECT COUNT( 1 )
FROM wp_posts
WHERE post_type = 'shop_order'
AND post_status ...
0
votes
0
answers
8
views
How to create a WP Bakery template for a custom post type
I've set up a custom post type for my WordPress website through ACF Pro. I would now like to create a design for the single posts in my custom post type.
I'm using WP Bakery on my website and I'm ...
0
votes
2
answers
30
views
How WP determines archive page vs single page?
I have a confusion about how WP loop works on archive pages vs single post or page? when you request an archive url, it shows all the related posts with only title, excerpt etc. but when you request a ...
0
votes
1
answer
21
views
add custom image to bottom of wordpress default login screen
Is it possible to somehow via functions.php to add an extra image on the bottom of the default wordpress login page?
Obs! - not the logo, this would be an extra image, below the "normal" ...
0
votes
0
answers
10
views
How to change media folder from created time of the post to publish date?
Now, all the structure of the media folder is under /wp-content/uploads/ and years-months combination from the created date of the post.
Is it possible that his path will automatically change to /wp-...
0
votes
1
answer
16
views
Can't change login logo & css - older plugin data blocking?
I'm having problem chancing the login logo & css in the wordpress standard login.
I must previusly had an old plugin or something, because it's using an old image.
Now I have addedd the php code ...
0
votes
0
answers
18
views
Best approach for importing numerous posts from API data?
I am attempting to creating a number of new posts on my site through data provided by an API. All in, there would be around 75,000+ new posts.
I had previously hooked into the init action and set the ...
0
votes
0
answers
19
views
Update plugin from github
I'm working on a WordPress plugin hosted locally on GitHub, and it includes several addons. When updating a specific add-on, I want to ensure that the main plugin is of a particular version before ...
0
votes
0
answers
9
views
Category theme template becomes default template for child theme
I am developing a child theme and have created a custom template for "category/ archives" page for a specific category
However, For some reason this custom template has become the default ...
0
votes
1
answer
17
views
Create a page from different content blocks
I would like some advice on how to set up a job. I have a set of "content blocks" I give an example:
Block 1 | Block 2 | Block 3 | Block 4 | Block 5
The goal is to make in a fairly fast way ...
0
votes
1
answer
15
views
How to move custom gutenberg block controls from settings to styles tab?
I'm writing custom Gutenberg blocks for my future projects. I have a few blocks and everyone of these has its own controls that allow change of border attributes, colors etc.
All of these controls are ...
0
votes
1
answer
24
views
Change the slug of post type using custom code
How can the default post post type permalink slug be modified to add /blog? Without changing other post types
1
vote
0
answers
18
views
Why WordPress convert my webP images into JPG?
ENVIRONMENT: WP Version 6.4.1
When I want to upload a webp image in my woocommerce product, WordPress converts my webP image into JPG.
So I deactivated all the plugins and tried to upload my webP from ...
0
votes
0
answers
10
views
GTM4WP purchase event not firing [closed]
I am using the GTM4WP plugin by Thomas Geiger to integrate Woocommerce conversion tracking with Google Tag Manager.
I set up a purchase event but it is not firing. I am wondering if this could be ...
0
votes
0
answers
11
views
If you want to implement custom field-wise search functionality in the WordPress admin area
function extend_admin_search( $query ) {
// Extend search for document post type
$post_type = 'document';
// Custom fields to search for
$custom_fields = array(
"...
0
votes
0
answers
8
views
Trying to Make a Sidebar/Tab on Specific Posts
I have searched and contacted some plugin providers but couldn't find what I am looking for. In summary, I am trying to make a Sidebar that details the hotel and course info next to a post. Something ...
0
votes
0
answers
18
views
Custom post type slug localization
I need to have 2 languages in a website (EN and LT).
I have a custom post type 'services'.
I need to have the links like this:
English version of the service: '/en/services/some-service'
Lithuanian (...
0
votes
0
answers
7
views
Admin access to secondary site user_can_access_admin_page losing login
This issue is related to an 'alternative' setup using 2 wordpress sites but 1 users table.
The initial setup is summarised below:
2 separate WP instances on same domain aaa.localtest.me + bbb....
0
votes
0
answers
7
views
How hide attribute in woocommerce cart? [closed]
Does anyone know how to remove product attributes with variants from the cart and order?
I found and tried this code but it doesn't work
add_filter( '...
0
votes
0
answers
25
views
Resolving Google Search Console Error: Video Too Tall for Embedded YouTube URLs
I'm facing a Google Search Console error stating "Video Too Tall" for embedded YouTube URLs on my WordPress site. I found a PHP snippet that claims to fix this by setting a specific height ...
0
votes
0
answers
38
views
Display featured posts first, then display all others within a specific category in WordPress
I want to display featured posts first, then all other posts not marked as featured on a category archive page. I am using a plugin that has functionality to mark posts as featured. I have figured out ...
0
votes
0
answers
13
views
UABB Advanced Tabs
Does anyone have experience customizing Advanced Tabs module from UABB (Ultimate Add On Beaver Builder) plug?
I have set the Active color using the plugin but I would like each tab to have a different ...
0
votes
0
answers
15
views
Wordpress site is not loading properly ( showing a min-page)
I hope you are doing well,
yesterday I was adding new products, deleting some of the categories, and uploading photos, and then I checked my changes but suddenly the website was not loading properly ...
0
votes
0
answers
6
views
Add a new menu selector element into WordPress nav-menus.php
How to build a custom menu selection element in the Menu admin (nav-menus.php) section of WordPress similar to how custom Posttypes/Taxonomies are automatically added in when created and then users ...
0
votes
0
answers
10
views
Site1 wordpress website redirect to other site2 in my same server
I am using Alibaba Cloud Server Ubuntu 18.04 and control panel is VestaCP.
I have got a WordPress website www.site1.com . However, after I install SSL via really simple ssl plugin.
Now, I cannot ...
0
votes
1
answer
18
views
Override theme hamburger menu to work without javascript (noscript)
What wordpress hooks can be used to override how the primary menu is displayed in my wordpress header's navigation menu -- ideally in a way that will work cross-theme.
I need to build a wordpress ...
0
votes
0
answers
14
views
Restore Accidentally Deleted Menu in WordPress [closed]
I was adding new pages to the main menu of my multilingual WordPress website using the Groovy Mega Menu plugin. While I was adding new pages in the Appearance section, my page suddenly refreshed and ...
0
votes
0
answers
15
views
Remove contact form 7 mail tag conditional
I have a contact form
[contact-form-7 id="2342c34" title="From"]
and i am using 2 dropdown fields line this
[select* course-list id:k-option "Option 1" "Option 2&...
0
votes
0
answers
15
views
Can not edit Wordpress preset CSS-classes in own Theme
Good morning,
I'm making my own (classic) theme for the first time. After I installed the test XML data, I noticed that some things weren't displayed correctly. For example, H1-H6 are assigned the CSS ...
0
votes
0
answers
10
views
How To Remove Parent Category from Child Category URL?
Are there no easy way to ensure that the permalinks only have the lowest child-category listed? Do I really need to install a plugin for this or make custom code? I already use RankMath to strip the ...
0
votes
0
answers
12
views
Expose hidden custom post type
I use a plugin that generates some custom post types, such as 'ctp_1' ctp_2' etc...
I also use a form plugin with a post management feature that allows me to either create or update posts throught ...
-1
votes
1
answer
27
views
Add taxonomy or category slug to custom post types URL
I have created a custom plugin that is similar to Woocommerce but will only manage products that are loaded using the WP REST API in a Vue SPA.
I've registered two custom post types, one for products ...
0
votes
0
answers
11
views
Populate an Advanced Custom Fields text field with the wordpress post ID on submission [closed]
I'm not too clued up on coding so I've asked both Bard & ChatGPT and the code they've given me don't seem to work.
This is what ChatGPT gave me:
// Hook to save_post
add_action('save_post', '...
0
votes
1
answer
11
views
New server, custom blocks all give "Your site doesn’t include support for the xxx block"
I'm trying to move a site to a new Ubuntu server, and enable HTTP2 in the process. This means I've had (I think) to switch to php-fpm.
The only issue is with the custom blocks in the theme - anywhere ...
0
votes
0
answers
12
views
How to show custom fields in modal in category page
The code below shows the title and content in the modal popup in category.php file. The full tutorial can be seen here although not important: https://artisansweb.net/load-dynamic-content-on-bootstrap-...
0
votes
0
answers
24
views
why I could not use <svg> data in WordPress additional css part
I was reading this article to customize the bullet lists (li tags) in my posts in a WordPress website. But when I want to add these CSS codes:
li{
list-style-image: url('data:image/svg+xml,<svg ...
0
votes
0
answers
10
views
where the setting is stored in FSE, not theme.json
I added a custom font to the TT4 theme via theme.json. I'm not able to see the font name when I go to Editor>Styles in Typography I cannot see the font. But once I go to my host and rename a folder ...
0
votes
0
answers
6
views
Load textdomain in the website, not in the admin, based on user settings not general settings
When you load textdomain with load_theme_textdomain() hooked on 'after_setup_theme' it loads your translations both in the admin and on the website, but it translate the website based on the option &...
0
votes
0
answers
19
views
If an Application Password is accidentally revoked, is there any way to restore it?
The concern is that it is too easy for the internal webmaster or admin to
accidentally revoke an application password for an application name for a
specific user.
In this case the application password ...
0
votes
1
answer
15
views
WP Query filtering by custom category not showing all relevant posts
Here's a question I've been trying to solve all day:
I added a WP Query that would show posts from a category that the admin chooses with a custom field. The post is a custom post type called "...
0
votes
0
answers
6
views
Splide carousel block - innerBlocks not selectable after innerBlocks change
I've built a carousel block using the Splide library, which mostly works great. The options are reactive and that side of things works fine.
However I have an issue when modifying innerBlocks (add/...
0
votes
1
answer
29
views
Isn't rest_do_request() filtered by pre_get_posts() filter?
I'm toying with rest_do_request() with the plan to use it for a semi-headless theme (we use it to power a sort of CRM for our clients, using custom plugins with lot of CPTs etc).
I'm experimenting a ...
0
votes
0
answers
11
views
Implementation of a Download Wrapper
We have a number of static files (thousands) that are linked in WordPress from a post using Advanced Custom Fields and able to be downloaded. I am aware that this is insecure, but it is an inherited ...
0
votes
1
answer
31
views
Editing wp-login.php
I'm looking to alter the message "Please enter your username or email address. You will receive an email message with instructions on how to reset your password" in the wp-login file.
If I ...
-1
votes
0
answers
13
views
WooCommerce Plugin for min. order quantity [closed]
First of all, I'm sorry if there's a plugin like that and I wasn't able to find it, but I did my research and seems like I couldn't find a working solution for me.
The scenario is following: I have a ...
0
votes
0
answers
4
views
Create multiple facades for same product?
Consider you sell zucchinis (courgette for those British, French).
And that is exactly my problem.
If I make a product called Zucchini - then it'll list on Google as Zucchini. But then I will not get ...