Categories
CMS Development Google Wordpress

Google shows extra links and pages which i did not created

I have an issue with my word press website named cardo.lk. when some type cardo.lk in google why Google shows unwanted extra links or pages related to my website which actually doesn’t belong to my website nor do i created? how i can remove those links?? Need serious assistance in this regard. For reference please […]

Categories
CMS Development Wordpress

Set notification if is two product category in cart

I’m trying to set notifications when I have products from these two different categories inside the card in WooCommerce. This is the code which I using: add_action( ‘woocommerce_checkout_before_customer_details’, ‘webroom_check_if_product_category_is_in_cart’ ); function webroom_check_if_product_category_is_in_cart() { $cat_in_cart = false; foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) { if ( has_term( ‘cat1’, ‘product_cat’, $cart_item[‘product_id’] ) && has_term( ‘cat2’, […]

Categories
CMS CSS Development Wordpress

Is there a preset CSS class when shopping cart isn’t empty?

WooCommerce enables automatically .logged-in class when a user is logged in. This allows to create a page with different content without any PHP coding. Is there something similar when the shopping cart is empty? I am NOT seeking any PHP solution. It should be solved only with a CSS class so I can hide/show parts […]

Categories
CMS Development Wordpress

WooCommerce – Loop through sale products by category but restrict to one category per product

I have this loop working at the moment, although products are listed in multiple categories and are looping through multiple times. How do I restrict output to one category per sale product? $count = count($product_categories); if ( $count > 0 ){ foreach ( $product_categories as $product_category ) { $args = array( ‘posts_per_page’ => -1, ‘tax_query’ […]

Categories
CMS Development Wordpress

Page redirect to blog page

Actually I have page of GST registration, but when i create blog, may be it include same words, but both links are different, when i click on the page link, it redirect to blog page?why?

Categories
CMS Development Wordpress

Why can I not deregister my style and script on custom post type?

I have a website where I have a custom post type with some single pages attached to it. Problem: I can’t deregister the scripts and styles on my custom post type single pages. This is my code: add_action( ‘wp_print_scripts’, ‘my_deregister_javascript’, 100 ); function my_deregister_javascript() { if (is_page(array(20720, 38881))) { wp_deregister_script( ‘basic-comment-quicktags’ ); } elseif (is_home()) […]

Categories
CMS CSS Development Wordpress

WordPress CSS Broken after transferring to another Path

While moving the WordPress files some of your CSS URLs paths were changed which is redirecting to old URL whereas some are redirecting to new URL so all the website CSS is broken. Please, how can I fix this?

Categories
CMS Development Wordpress

Contact Form 7 – multiple recepients

I am working with CF7 and for email to admin, I would like the same email to be send on custom address. Point is: – user fill up form – send it – based on singular page ID (CPT single) I will replace [owner-email] shortcode for real email in “To” field I could do this […]

Categories
CMS Development Wordpress

Inapproriate redirection

Below is a part of the code of a plugin. I modified to add the else part. However, I’m noticing some weird behaviour. Before adding the else part, the first part of the code was properly executing whether or not the user is logged in. After adding the else part, if the user is not […]

Categories
CMS Development HTTP Wordpress

https://supplecient.com/dietary-valley-keto/

Get An abilities With weight reduction capsules in the days before weight loss program pills, it was once virtually impossible to change dietary valley keto body with out months of planning. Diet and recreation needed to be strictly adopted and careful institution was once at all times required. However, now weight loss pills make it […]