Let’s assume you have a custom page with the name/title “Hello”.
and add the following code to your themes functions.php or you can also create your own plugin.
Code snippet:
function my_custom_page_category_hide(){
$page_title = $wp_query->post->post_title;
if($page_title=="Hello"){
echo '<style>
.box-text-inner { display: none !important; }
</style>';
}
}
add_action( 'wp_head', 'my_custom_page_category_hide' );
Just paste the above code and do check the priority of your custom css code.
In case of any issues let me know in the comment.
Related Posts:
- Hide woocommerce category name from specific pages
- category description not showing in my woocommerce
- Custom Woocommerce Category view
- How to create an automatic MultiColoumn MegaMenu with Categories WordPress
- Display All Products by Category with WooCommerce
- Woocommerce get category image full size
- Reflect nested categories in appearance > menus
- Create a full width responsive header image per page
- Remove child products from woocommerce category page [closed]
- How do I edit pre_get_post for the category the user is currently in?
- Remove “Category Archives: title” at the top of a category page [duplicate]
- Display WooCommerce product categories in a 4 columns custom menu [closed]
- How to select product category while adding new product in woocommerce? [closed]
- Filtering search results
- WooCommerce change category url and product base
- display woocommerce all category title on home page
- Hide post meta data on a specific category
- Add Icons to the Product Category Sidebar Widget WooCommerce
- Add Product categories to WordPress menu without losing hierarchy
- Display “add to cart” button on every listing in product category page?
- How to get product count with respect to categories in WooComerce
- Custom page for WooCommerce’s /product-category/
- Getting categories id for all products in cart
- get_cat_ID() not wokring
- Different excerpt styles per category, but chronological
- Display child categories in WooCommerce
- WooCommerce duplicate sub categories and product slugs
- WooCommerce IF statements not working
- Woocommerce category show subcategories only/omit posts for specific category
- products nested by subcategories in a current category archive
- WC 3.x Get categories from variable product of the cart
- Category location styling
- Pagination not visible on woocommerce’s category page
- Remove product category placeholder image (Woocomerce)
- Categories for each brands
- Change thumbnail image depending product category
- Unwanted Duplicate Product Categories in WooCommerce
- Woocommerce custom category pages
- Customize WordPress widget – Product Category
- WordPress/Woocommerce only show category in shop to a single role
- WooCommerce – How to show specific category first-rest of products-specific category last
- Woocommerce custom category page with pagination [closed]
- Style category link depending on category ID
- Why do I have stray bullet from
- Categories are not listing their respective products
- Include WooCommerce product to all child categories
- Do not show sub categories in the loop on archive-product.php
- List a maximum of ‘x’ product categories with qty of ‘y’ in each column
- Display all product tags associated with a specific product category
- why get_the_post_thumbnail( the_ID()) echos extra post id
- How to access deleted term inside delete_product_cat action
- Apply WordPress function on specific woocommerce product categories only
- Grandchild Term Things Grandfather Term is It’s Parent
- Simple way to style posts of a single category differently in the loop and in single
- Woocommerce filter function not updating
- Adding custom ID field to the categories
- How can i change what one category displays?
- Two Sections on Woocommerce Catergory Page [closed]
- Woocommerce search form with category select
- How to display product with two condition, category and brand taxonomy
- Remove Archive | from Categories
- Show different menu on each woocommerce category page
- WooCommerce shared categories
- Displaying Single Product Page Parent and Child Category
- Inline If statement to echo CSS [closed]
- How to make product image inherit from category image
- How to show given products only using product id array from specific category page in woocommerce
- Shop Category Pages missing s
- How to set acf color field as background color to product category
- How to target all woocommerce categories that don’t have any subcategories in them?
- WooCommerce REST API not returning the default products category
- Show the parent taxonomy by creating shortcode in woocommerce?
- How to add all subcategories as submenu in WordPress menu
- When creating a new product, auto assign it to all custom taxonomy woocommerce
- Get WooCommerce product category list in functions.php
- How to “remove” WordPress categories UL and make the list loop in a horizontal line?
- in post content shortcode works, but hardcoded in same page template doesn’t?
- WooCommerce showing active product categories on single product page
- How to fix 404 error in pagination in categories of woocommerce with common url base /shop/?
- How to display custom fields as table in Woocommerce
- How do I merge WooCommerce categories with the same name?
- How to delete WooCommerce categories in bulk that only have one product
- Product Category page showing all products
- How to load terms of a custom taxonomy of a product in woocommerce cart page
- product_cat image url from database
- Woocommerce product catalog, products with different description
- WooCommerce – Get products from category right before deleting category
- How to display products with multiple conditions, product_id and category_id
- Categories and Tags Conflict after Woocommerce Installation
- How to get related category/categories in WordPress archive page
- How can I add a Categories page link to a menu? [closed]
- Custom CSS to resize elements in multiple categories
- How can i hide the authors box from a specific set of categories and post types?
- Displaying categories and subcategories without link
- Sorting Woocommerce products by category and attributes
- How to get Woocomerce categories count
- Woocommerce – Display product category of product in Orders page
- Changing Woocommerce categories programatically
- Categories and products woocommerce wordpress
- Restricted category in Woocommerce [closed]