All Questions

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

Post meta box data not saving

The meta box, fields, etc. are all displaying correctly but when I go to update the page it seems the data in those boxes has not saved. Any ideas? Using a custom post type called 'question'. Would be ...
0 votes
2 answers
8 views

Post Count for Multisite?

Is there a way to get post count for all active sites on a multisite, using WP-CLI? Conceptually, I'm looking for a combination of wp post list --format=count and wp site list --format=count but I don'...
0 votes
0 answers
9 views

Code in the excerpt of the search page

I am having problems with the search page. In this page I get the title and the excerpt of each page/article in the complete web. In the last page that the search engine places the following appears ...
  • 3
0 votes
0 answers
13 views

Preventing script injections in HTML form

I have a HTML form which essentially searches for posts in WordPress. The markup looks like this: <form class="resourceFilters__searchForm position-relative" role="search" ...
  • 145
0 votes
1 answer
18 views

Change url site.it/wordpress

I need to change the URL of an existing website from www.site.it/wordpress to www.site.it. I searched on the Internet and followed the following steps: I downloaded the index.php and .htaccess files; ...
0 votes
0 answers
3 views

How to add portfolio category post count in main navigation menu?

Can you guys can help me on how to add/show the post count for portfolio category in main menu. eg: People (10) | Nature (12)
  • 1
0 votes
0 answers
11 views

is it possible to use wp cli to export custom post types

i have been trying to use WP CLI to export custom post type 'product' from custom taxonomy 'product_brand'. however, my command is exporting a random list of products, from other brands. it also is ...
0 votes
1 answer
9 views

Debugging deprecated/renamed PSR-0 classes being requested

After upgrading to 6.2 via WP-CLI I get an error regarding deprecated/renamed PSR-0 classes being requested. The source comment from WP core says: /* * Integrators who cannot yet ...
  • 407
0 votes
0 answers
9 views

Is there a plugin that has the same functionality as Facebook's wall? [closed]

Is there a plug-in that will make a Wordpress site look like a Facebook wall? (Without connection to FB). This is for a friend of mine. I'm not an expert on Wordpress, but I made him a good site for ...
0 votes
0 answers
15 views

How to add "rel=nofollow" for links in latest version of Wordpress?

In earlier versions of Wordpress, when editing a link, there are three options: Open in new tab Search engines should ignore this link (mark as nofollow)Learn more about marking a link as nofollow ...
  • 103
0 votes
0 answers
9 views

Import media files to WordPress from external API

I am trying to upload media files to WordPress from an external API provider. I have written a few codes, but it's not importing anything. I have no idea what is going wrong. My codes are: function ...
  • 51
0 votes
0 answers
5 views

WordPress MU: Cookie error when trying to login on network WP instance

I get a Cookie error when I try to login to a WPMU site in a subdomain-based network installation. I would like to give more relevant details, but at the moment I don't have any clue where to dig. Can ...
0 votes
0 answers
5 views

Direct domain alias to a specific WordPress page without the page in the URL

I have client with an existing website on domainA.com. They want to use another domain (domainB.com) for some marketing of a specific product that is detailed on a page of their existing website. So I ...
0 votes
0 answers
5 views

Is there a membership plugin which offers the ability to hide content based on css rules?

I am building an eLearning website. I am offering free video courses. I want to hide some content with css to make it available only after paying. I have tried many plugins but none offered this ...
  • 1
0 votes
0 answers
11 views

What file is responsible with tags displaying on the post?

The tags are not diplayed on my blog post What file do I need to edit or how to fix this issue ? Update I found the page is post.php <?php /* translators: used between list items, ...
0 votes
0 answers
12 views

Custom nav with bootstrap dropdown

So I have a menu with this structure: Here is my code to get the menu: <?php $menuLocations = get_nav_menu_locations(); $menuID = $menuLocations['main-menu']; $primaryNav = ...
0 votes
1 answer
18 views

Convert from Portfolio post to WooCommerce products [closed]

Is there a way to somehow turn portfolio posts into WooCommerce products at once, maybe through some plugin or code?
  • 3
1 vote
0 answers
13 views

Is there any WordPress Plugin that provides video editing from front end side? [closed]

Is it possible to incorporate video editing functionality in the front end of the WordPress website using any plugin (free or paid)? For example, if we have a website where we submit a form that ...
0 votes
0 answers
13 views

Entire WordPress content disappears

so I have changed to dreamhost from tsohost. On the day the WordPress content migrated to dreamhost, however after they generated a new login password (same email address but new username) all my ...
-1 votes
0 answers
7 views

Not receiving verification email to update administrator email in wordpress

[![enter image description here][1]][1] [1]: https://i.stack.imgur.com/K4SMz.png Not receiving verification email to update administrator email in wordpress
0 votes
1 answer
20 views

Guests comment form - prevent duplicate email addresses

I am trying to prevent guests (not users) from posting comments on one single page if they fill in the same email address. My further goal is to collect their unique addresses for a contest (The best ...
0 votes
1 answer
18 views

Database Queries are crashing the server

Migrated website from old cPanel to Hostinger and now slow queries are killing the server. I have deleted more than 97% data and rest of the content from one query is: UPDATE wp_options SET ...
0 votes
0 answers
13 views

Is there a way to make it so that I don’t get a hamburger menu, but rather a desktop style nav, when resizing to a mobile size

I only have a few menus in my nav, and I don’t think a hamburger menu has the appropriate look for my mobile site. Anyway to force it to look like it does on the desktop?
0 votes
0 answers
15 views

Custom cronjob not executing at all, but manually

In my themes function.php, I've added that code to load a custom code based on the cron: add_action( 'wp', 'schedule_test_cron' ); function schedule_test_cron() { if ( !wp_next_scheduled( 'test_cron'...
0 votes
0 answers
23 views

Plugin development, downloading updates via API link [closed]

I have a plugin that receives updates from a file on my server and it works great. I use – https://github.com/YahnisElsts/plugin-update-checker My problem is when I try to change the file link to a ...
0 votes
0 answers
16 views

Delete data from the database on a table row on clicking delete button

So I have this custom table which displays data from database upon form submission on a custom plugin I'm building. I would like to add a functionality on the delete button to be able to delete each ...
-1 votes
0 answers
22 views

Suspicious Login Attempts

I'm using wordfence plugin, but still facing suspicious login attempts issue, can somebody help? what necessary steps should i take to improve the security of my website?
0 votes
0 answers
22 views

Deactivated a plugin with a filter, but it still enqueues JS files

I am using a filter to deactivate a plugin programmatically for page requests where it is not needed, but it is still enqueing assets. I deactivate it as follows: add_filter('option_active_plugins', '...
0 votes
2 answers
59 views

How do you modify HTTP response headers on feed/?

Trying to change Content-Type: application/rss+xml to Content-Type: something/else on example.com/feed/. My code so far: function force_404() { global $wp_query; // Modify content-type header ...
  • 103
0 votes
1 answer
21 views

Saving metabox updates causing fatal error

I'm teaching myself from a plugin tutorial dvd, everything was going fine. I've setup custom_post_types and the metaboxes with no issues. The issue i have is a fatal error when i update/publish the ...
0 votes
0 answers
16 views

Custom Theme Additonal CSS "<" and ">" are transformed to "&gt" and "&lt"

Im using Elementor Child Theme and in there im sometimes writing "Additional CSS" and till yesterday everyting was working correct. But since today "<" and ">" are ...
0 votes
0 answers
13 views

How to add SKU and remove product title from WooCommerce url?

My current url structure is this: shop/category/article-name I would like to change it to; shop/category/sku Unfortunately my regex doesn't seem to work properly as only a few products don't give a ...
  • 3
0 votes
1 answer
21 views

How to add CSS to Wordpress

I am struggling to get custom CSS to work in Wordpress. I am using version 6.1.1. I want to turn off underlining of the link in the site title when you hover over it. I am using a Twenty-twenty ...
0 votes
0 answers
27 views

is exposed wp-admin site a serious security vulnerability

this is a basic question that i was unable to wrap my head around via chat gpt or google, namely is it a serious security vulnerability for a wordpress site to have publicly available wp-admin (login ...
0 votes
0 answers
6 views

How to display product variations on same row

I'm having trouble displaying variations on the single product page in woocommerce. I would like to show the product variations on the same row and not separate, like the attached pic. Currently on ...
  • 1
0 votes
1 answer
22 views

How to trigger plugin migration code when plugin updates?

I'm looking to run some migration related code when my plugin is updated to the next release. I've researched and yet to find any sort of hook/trigger which will be called when a plugin has ...
  • 103
0 votes
0 answers
16 views

Sort by price when price is set in multiple keys

I am performing a query, using WP_Query. I am trying to sort products by price ( from lowest to highest ), and I have a problem, namely that the price value is set in the key "_price" in ...
0 votes
1 answer
5 views

strange issue with get_post_type() when using it in a shortcode in text widget

I have a simple shortcode to show post_type slug when I needed. when using shortcode in text widget: -in "post_type single page" it's working -But in same sidebar and same widget in "...
0 votes
0 answers
2 views

using jetbooking for multiple custom post types

I'm using jetbooking to book Rooms in my website but now I want to create another custom post type "Cars" but jetbooking is allowing me to link only one custom post type what should I do?
0 votes
0 answers
4 views

I have made this form and i want to show this form in a popup by clicking on the filters button which is in a shortcode html in function.php file

this is the button which Filter Advance Filters x Search by Workout Name Workout ...
0 votes
0 answers
18 views

Use value from meta key array for use in WP_Query

I have a CPT named 'Physicians', and have assigned an ACF field named locations to that post type — locations is an ACF post object field. I also have a 'Locations' CPT and intend on displaying the ...
0 votes
0 answers
7 views

Security Threat Found: "menu shortcode <= 1.0 - Contributor+ Stored XSS via Shortcode"

Jetpack Protect found a security threat that I don't know what to do with: "The plugin does not validate and escape some of its block options before outputting them back in a page/post where the ...
0 votes
0 answers
9 views

WC Square Google Pay button showing twice on all the pages in Woocommerce [closed]

I have installed WC Square for Woocomerce. It shows Google Pay button twice on the website on single product page and every page where its called. To view the product page here is the link. I have ...
  • 1
0 votes
0 answers
24 views

Product description is not shown using WordPress 6.1.1 [closed]

The Product description, inserted with Edit product is not shown in using WordPress 6.1.1. How can I resolve this bug? The actual page is shown here: @ https://etheric.com/books-and-videos/ . ...
-1 votes
0 answers
9 views

How can I set up LINE Pay as a payment method on my WordPress website linked to my bank account? [closed]

"Install a LINE Pay payment plugin on your WordPress website. There are several plugins available, such as WooCommerce LINE Pay Payment Gateway, WP Payment Gateway Integration – LINE Pay, and ...
1 vote
0 answers
17 views

Add custom settings to widget areas

I'd like to add settings to sidebars defined in my custom theme - sometimes, for example, I'd like to be able to set a widget area to not display. Is this possible, I can't find any references for it?
0 votes
0 answers
13 views

How do I update the SEO information on dynamic pages being generated from template_include?

I have set up a function to dynamically create pages through query variables. The use case is that we're calling a job's board API and then generating the URL and content of the page based on what get'...
0 votes
1 answer
28 views

How can I use AJAX in child theme template?

I'm trying to perform an action with AJAX in a Child theme template in Wordpress. I've looked into many similar issues. However, I couldn't find a solution. I've been dealing with this for about 2 ...
0 votes
0 answers
13 views

undefined variable in php

I use localhost for testing and debugging sites, before making changes to the live site. Because MySQL failed in XAMPP, I had to install XAMPP from scratch. Undefined variable $_post in C:\xampp\...
0 votes
0 answers
13 views

Adding a navigation with wp_nav_menu() to a custom block in the site editor

I'm using the create-block package to build a custom navigation block, and I'm running into an issue with getting the menu to display in my edit.js file. In my render.php file i have: <nav> &...

15 30 50 per page
1
2 3 4 5
2288