Category "wordpress"

remove attribute class and id and style from posts wordpress

i want remove attribute class and id and style from posts wordpress i see in all posts class and id and same of style attribute <h2 id="gydde" style="color:#

Apply filter array/return terms

I would like to apply a filter on which taxonomies are displayed in a widget. I'm close but I think I don't have the correct spelling for it and I'm surely miss

Is there a way to bulk toggle 'Fuzzy' translations in Loco Translate?

I have a lot of strings marked as Fuzzy in loco translate for Wordpress. Is there a way to bulk toggle these translations into accepted translations? I really

Get WooCommerce products from specific category

I am trying to insert a WooCommerce element to display "products" (courses) from a specific category into a page. I had also to hide these products for this spe

How do I show custom recent posts in WordPress?

Now it's showing like this: now it's showing like this I want it to look like this: I want it to look like this

After adding more products to woocomerce wordpress store graphql fails

anyone knows how to fix this graphql error? It appeared after i've added more woocomerce products. Url seems to be good because after deleting part of the wooco

Don't redirect users to wp-comments-post.php instead show required directly in input fields

I am looking forward to 2 things: Rename "wp-comment-post" to any other name Don't redirect users to the wp comment error page. I have found a website that sh

how to youtube api data to print in toolset metabox using a button click before save-post

i create a metabox with 'import' button in post.php. Also, ready for youtube api data code. but i need, 'when i click 'import' button to run youtube api data fu

WooCommerce create API webhook (POST method)

I would like to connect API but, to be honest I'm not so experienced in api connections, the API instructions are clear, but I don't know how to begin in WordPr

How Can I Do LIMIT 1, 2 In WP_Query

I am using Wp_Query method and I want to learn is there any parameter to limit my query. I try to use LIMIT 1,2 in WP_Query. Thanks for advance! $args = array

WooCommerce coupon usage restriction by allowed user roles

we need to make an automatic discount coupon to be applied if the current user role is ( vendor ), we achieved that by creating a normal coupon then used the sn

Adding custom fields to woocommerce checkout page disables place order button function

I'm trying to add this basic code to add a new field to the check out page. However, it seems to disable the place order button. Here is the code: /** * Add th

Page has horizontal scroll which I can't get rid of

Please see https://simplybikestuff-staging-com.stackstaging.com/ I've gone through front page and removed code snippets to try get to the issue, but still no -

Set shipping class based on Tag or Attribute Woocommerce

I need to update Shipping class based on Tag, example all products with tag "Fresh" shoud have shipping class "fresh" . i try this, but without results.. add_ac

How can I solve this problem in my WordPress site Fatal error: Cannot redeclare get_rs_plugin_url()

I am trying to install Slider Revolution, but it shows the error below. Please help me resolve this issue! Fatal error: Cannot redeclare get_rs_plugin_url() (p

Woocommerce Checkout - Add conditional field required if one field is filled

I want to add a conditional requirement on the Checkout page. Because a lot of people fill the Name of Company without they are a company. And I want to add to

Woocommerce Rest API: woocommerce_product_invalid_image_id

Woocommerce version: 4.1.0 I am trying to create a product with categories and images via the API but I get this error : {"code":"woocommerce_product_i

How to Change TablePress row length for admin page

I am using a TablePress of wordpress library and try to display 100 rows per page in admin account , Not user page. How can i do that ?

Put content of wordpress page inside div

I am trying to put content of wordpress page content inside div but that does not work , simply trying ot do that echo '<div style="display:none">' . the_

Display specific shipping method if woocommerce product has specific acf field value

I need display specific shipping methods only if specific acf checkbox in product is checked. I created custom field viac ACF plugin with name "zpusob_prepravy"