• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
A
A
Andrey2021-12-13 22:21:08
WooCommerce
Andrey, 2021-12-13 22:21:08

How to display a block only in some categories?

I want to insert a block into certain categories , I
try like this, but it does not work

<?php if (is_category('594')) { ?>
Тут блок
<?php } ?>

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

0 answer(s)
Similar questions
A
Alexey Mo2018-02-17 03:41:46
How to display products on the "Shop" page in Woocommerce as "Image-Short description" lines? 2Reply
P
Polina Nefedova2020-04-25 12:08:47
How to apply custom class in woocommerce for product category and product card? 1Reply
A
Alexander Bondarenko2021-06-22 21:10:16
How to get related products of a WooCommerce product? 0Reply
H
hooli-gun2021-06-23 11:17:47
How to add additional information and a button to the product card? 1Reply
M
Maxim2020-04-25 22:12:18
Is there an alternative to Woocommerce on WordPress? 2Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners