All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

creating custom search page

I'm reading about how to create a custom search page. It's not clear for me how to proceed, in the wordpress documentation I've read that I can't use the name search.php for a search page because it's ...
0
votes
0answers
6 views

How to forward all requests starting with a specific folder name to the same folder

In my Wordpress website main directory, I created a folder servers, which contains two files .htaccess & index.php. In the .htaccess file, I add those lines to redirect all requests to that folder ...
0
votes
0answers
6 views

Building a Featured Gallery component for Gutenberg

I'm building a Featured Gallery component for Gutenberg. As a guide, I'm using the existing Featured Image component from Gutenberg. Basically, instead of storing a single image id, the component ...
0
votes
0answers
9 views

Google photos integration. Can view images in media library but not insert to post [closed]

In Gutenberg post-editor. I select Gallery-block--> Select images --> Google photos. All my Google photos are now visible. When I select one or multiple images and click insert I get "...
0
votes
0answers
5 views

TinyMCE on frontend stylle not working

I use TinyMCE advanced on my Wordpress website. My logged-in users have the ability to fill forms with WYSIWYG fields. I don't understand why some styles are not applied on those fields while it ...
0
votes
0answers
9 views

Migration from environment to master Wordpress

Is there any way to migrate the project from one environment to another? You mean exactly the difference between them? Let's say I have a plugin in dev that is not in the master, can I somehow ...
0
votes
0answers
4 views

Fill Drop-down menu of Contact Form 7 using PHP

I want to populate the drop-down menu items of the CF7 from another database. The reason for this is that there might be a large number of items that might dynamically change every week. Adjusting the ...
0
votes
0answers
10 views

Adding per-unit price after product line price in Woocommerce

I'm trying to get my WooCommerce price per unit . Prices added according per package (example:4000$) but customer dont know how much per unit,If a package have 20 i wanna show next to price (20$ per ...
0
votes
1answer
7 views

File ownership for file tree php user ID - Folder permission 775

I have the same issue as the below topic, where all my folder are set to 755 but I am unable to run updates or upload new media due to folder permissions. Once I set it to 775, the problem is resolved....
0
votes
0answers
7 views

What, if any, tools exist to establish SSO between WordPress and a MediaWiki?

I would like to have a MediaWiki on a directory within a WordPress installation. Are there any tools? I searched plugins and found no obvious candidate. If there are not existing solutions, how should ...
0
votes
1answer
17 views

IF statement not working - Any suggestions?

So I have a function which counts the amount of customer orders. I want to show a congratulations modal that appears when a customer hits a specific amount of orders. All of my code is working fine, ...
0
votes
2answers
17 views

How to fix “Object of class WP_Term could not be converted to string”?

I basically want to loop through each post I have and get the taxonomy/category id. After that I want to output those id's into a single string (not as a numeric value), separated by a space. I get ...
-1
votes
1answer
11 views

How to load css file in my menu in wordpress

Anyone know how to load css file in my menu in wordpress. use this but it didn't work function wmt_theme_style() { wp_enqueue_style( 'bootstrap-styles', get_template_directory_uri() . '/css/...
0
votes
1answer
7 views

Every change made by “Author” role is going to “pending review”

I don't know if this is an issue with the module https://wordpress.org/plugins/user-role-editor/, or this is an internal behavior of WordPress, but for some reason, every time a user with "Author&...
0
votes
1answer
19 views

How to retrieve category NAME instead of ID in a function with a taxonomy custom field?

I'm trying to change the post title (both back-end and front-end) for a specific post type through custom field. The custom field I'm using is a taxonomy field where you I choose from different ...
0
votes
0answers
8 views

Moving users from joomla to wordpress

Situation: I am tasked with creating a new site for a local newspaper. The current site is running on Joomla. The only functionality it has is a paid (paypal) user login to read PDF's of the new ...
0
votes
1answer
10 views

Windows-hosted new site shows no preview: “Future home of something quite cool.” message is displayed

I added a theme and made a sample home page. What could cause the site to display no previews or even display no changes when published? Note: I did my best to search similar previously-asked ...
0
votes
0answers
12 views

How to make phone number become whatsapp link in back-end order details woocommerce

I wonder if anyone knows an action to make the phone number field become a link that calls whatsapp in the order details on the administrator's side woocommerce
0
votes
0answers
9 views

How to change the format of thumbnails into wordpress theme?

dear community. I have question about changing the format of thumbnail into WordPress theme. I want to change all generated images format into a theme to *.webp. I already have generated *.webp images....
0
votes
0answers
9 views

Featured image on mobile is shown as mini thumbnail

I recently got a problem with my website on mobile phones. The featured image for all of my posts are shown as thumbnail sized pictures, but the correct size is shown on laptops. I am not sure how to ...
0
votes
0answers
17 views

When I add metadata, metavalue length is added in to the value in some cases

When I use the following code: update_post_meta($new_post_id, '_test_metakey1', 'a:1:1;'); update_post_meta($new_post_id, '_test_metakey2', 'a:1;'); The database adds the keys as follows: Why does ...
0
votes
0answers
11 views

How can I create more advanced layouts in Gutenberg block editor?

I'm looking to create a layout like the below, which is enabled by the Stackable plugin. I know exactly how I would do this if I was using CSS Grid, but because I want this to be easily drag-and-...
0
votes
0answers
15 views

Child theme overirde template-tags in a theme built on underscores in inc/template-tags

I've read this post and I don't think this question is a duplicate because I have a specific question that has not been answered. My parent theme is using the following to require a template tag php ...
0
votes
1answer
9 views

Auto Plugin & Core Updates Not Working For Custom Theme

I have a custom WordPress theme I've developed and have included the following lines in my wp-config.php in hopes to automate plugin and core updates: define( 'WP_AUTO_UPDATE_CORE', true ); add_filter(...
0
votes
0answers
5 views

Woocommerce shop page not showing all products

This is my website http://www.buttlights.com/shop. Only 27 out of 500 products are showing and there is no pagination menu as well. Any help would be appreciated.
0
votes
1answer
15 views

Move static site to WordPress

I want to move my website https://mysushi.ph/ to a simpler platform like WordPress so I can make small changes myself and don't be dependant on developers (e.g. title meta changes for SEO, posting ...
0
votes
0answers
9 views

Permalink Duplicating Parent Slug

I'm running into an issue where the slug of the parent page is getting appended to the slug of the child page. The site has 4 levels of page depth, so the permalinks end up looking like this: domain....
0
votes
0answers
15 views

the short code not working?

i'm testing the Short Code show Notice on front-end when user interact with the form . The logic simply as : user type in 2 test box ("Insert active code here :" & "Insert Order ID: ...
0
votes
0answers
16 views

Delete product after time period

i have problem, i can’t do function with delete product after time period. I was found this: https://wisdmlabs.com/blog/delete-products-woocommerce-shop-specific-time-period/ but dont work in my site, ...
0
votes
2answers
17 views

get_header() on new page fatal error

I'm building theme and using this link in navigation bar to about.php page. <li><a href="<?php echo get_template_directory_uri(); ?>/about.php">אודות</a></li> ...
0
votes
0answers
7 views

Migrate ProcessWire to WordPress

Is it possible to migrate content from Processwire CMS to WordPress? If so, any ideas? Any tools? I've spent a good amount of time researching but haven't found anything. I've opened the ProcessWire ...
0
votes
0answers
10 views

Woocommerce: output a group of attributes

There is a "Brands" attribute with hundreds of different brands. This attribute is made as an archive, i.e. there are pages site.com/brand/bosco. How can I display all brands on one page? I. ...
1
vote
0answers
14 views

How to link the whole list item in Gutenberg's latest posts block?

I am using a Gutenberg's 'Latest Posts' block on my front page. Featured image display and grid layout are enabled in the block settings. By default, only the post title is linked to the actual post. ...
0
votes
1answer
17 views

How to remove gap/space between widget and layout child in Elementor?

in Elementor, by default if we add layout inside an widget, we can see there's a gap or space between widget and layout (widget's child), as seen in below picture: other example: another example: ...
0
votes
0answers
17 views

Get custom taxonomy terms that contain posts that have another taxonomy term

I have two taxonomies for my property post type: property-style which has terms for different home styles like "Country" and "Modern", and property-tag which has terms for ...
0
votes
0answers
7 views

Disable check control empty fields usrname/password

I would like a function to disable the control during user registration of empty username and password changes because I would like to fill them already here with the phone number automatically.
0
votes
0answers
12 views

Display user data in numbered list

We sell a downloadable product. Each download requires registration and those who register for a download are assigned to a user role called "TFWPdownload". The registrants are further ...
0
votes
0answers
12 views

How to show a list of comments on home page from all posts?

I have a custom post type for games on my site (https://pokerdiy.com). I have comments on these games and now want to show a list of recent comments on the home page of my site (kind of like the ...
1
vote
2answers
21 views

Show ACF field from custom taxonomy and display on the single template

I have a custom post type called products, which I have attached a custom taxonomy called Product Categories. On each of the Product Categories, I have used Advanced Custom Fields to add fields such ...
0
votes
1answer
20 views

Change the text “search result for” on search result page

I've been searching thru all WordPress files for the phrase "search result for", which is displayed on the search result page (search result for (keywords)) but can't find it. I would like ...
0
votes
0answers
11 views

Contact Form 7 Dropdown depending on post selected

I am trying to create a form using Contact Form 7 that allows user to: in the first select box: select custom post (type: medicines) within title, in the second select box: select one of meta_values (...
0
votes
1answer
13 views

301 redirect any RSS feed on level up url

On my site I've got RSS feeds - something like this: www.example.com/en/shipper/feed/ www.example.com/en/carrier/feed/ I want to 301 redirect all those URLs to the level up, respectively: www....
0
votes
0answers
8 views

Custom registration edit field / value before registration submit

i need to : add a hook that updates after user username and password creation by setting them both as the variable telephone number, i try this (but not working): // sets username and password ...
0
votes
1answer
17 views

Is functions.php in themes applied to all templates?

I've been reading the theme developer handbook for a bit and maybe I ended up with one too many questions on wordpress theme development. I haven't done any theme/php development in a very long time ...
0
votes
0answers
7 views

Getting a Post ID to show its content in a Popup

Im using a function to add a readmmore at the end of excerpts I dont want to link to a single-w.e.php Because I want to popup the page and the only way ive found to do this is to add the page to the ...
0
votes
0answers
12 views

MySQL query to select Advanced custom fields (ACF) in WordPress from the database

MySQL query to select Advanced custom fields (ACF) in WordPress from the database. I have a simple WordPress website with custom fields i want to select(query) all the custom fields data from ...
0
votes
0answers
7 views

Redirect user to a specified page when they visit a certain URL (Not after login, all the time)

All I am trying to do is create a unique page for each user. When they go to /dashboard is redirected based on the user to their own specific dashboard page eg: /username. At the moment, you can used ...
0
votes
1answer
34 views

Query with meta_query and tax_query together not working properly

I got some post in some categories { kids, man, woman } , and some ACF meta fields per country { Japan, South Korea ... }. If I query the categories with this tax_query it works perfectly: Array ( ...
0
votes
1answer
36 views

Why does wordpress generate more thumbnails than the 3 standard sizes?

If I upload an image in Wordpress, it usually generates more images sizes than what I have indicated in my settings -> media (small 150, medium 300, large 1024). For example, if I upload a 4K image,...
0
votes
0answers
12 views

Changing stock value from txt file using PHP

I have a txt file that stores info (sku, name, stock) from products. Is it possible to read from this file and insert only the stock value to wp database using php? Thanks

15 30 50 per page
1
2 3 4 5
2092