Browsing Tag


Hide if get_the_category() returns no results

I’m listing related pages based on category. This is what I’m using to list all related categories. What I’m trying to do is hide the

wp-topbar hide topbar with media query

I am currently using a wordpress plugin called WP-TopBar. It overlays an floating div over the top of my site. I am trying to set

I want to hide the x-overflow on revolution slider with custom size [wordpress]

Here is my site: Just before the footer, there is a tall revolution slider that has some flowers, some wedding invitations, a bride and

Javascript hide don’t work

I tried to hide an image with class="hide_phone" but both code above didn’t work. <script type="text/javascript"> $(document).ready(function($){ $('.hide_phone').hide(); }); </script> <script type="text/javascript"> $(document).ready(function($){ $('.hide_phone').css('display','none'); });

Show or hide subscription form upon click

I have the following subscribe form: <div class="AW-Form-2026756516"></div> <script type="text/javascript">(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s);

WordPress WooCommerce, hide subcategories

I have 4 depth’s of categories and as a standard on a parent page you see containers with links to it’s subcategories at the bottom.

Hide ‘out of stock’ products in Woocommerce

Under “Products” and “Inventory” I have checked the following setting: “Hide out of stock items from the catalog” Now all sold out products are hidden

Div without content hide

I have two custom types inside a div. I need hide main div if custom type is empty. This is my code: (I want hide

Woocommerce shop manager role, hide woocommerce menu

I am using a wordpress theme which supports woocommerce, when adding a user with shop manager role i don’t want to show the woocommerce menu.

How to hide terms if post is equivalent to draft?

The issue is if you are displaying a term list somewhere it will show the terms tied to draft posts as well. How can I

Back to Top 134673 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising