{"id":158226,"date":"2022-06-09T07:50:02","date_gmt":"2022-06-09T07:50:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/dynamic-content-shortcode\/"},"modified":"2022-06-09T07:49:31","modified_gmt":"2022-06-09T07:49:31","slug":"dynamic-content-shortcode","status":"publish","type":"plugin","link":"https:\/\/gd.wordpress.org\/plugins\/dynamic-content-shortcode\/","author":15193078,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"trunk","tested":"6.0.11","requires":"3.0.0","requires_php":"","requires_plugins":"","header_name":"Dynamic Content Shortcode","header_author":"Eyal Avitan","header_description":"This plugins allows you to display spesific content using spesific conditions","assets_banners_color":"","last_updated":"2022-06-09 07:49:31","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/eyal.cc","header_plugin_uri":"https:\/\/eyal.cc\/dyco-shortcode","header_author_uri":"https:\/\/eyal.cc\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":836,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1":"<ul>\n<li>publish to wordpress repo<\/li>\n<\/ul>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Usage example on product page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2487,357],"plugin_category":[43],"plugin_contributors":[211064],"plugin_business_model":[],"class_list":["post-158226","plugin","type-plugin","status-publish","hentry","plugin_tags-dynamic-content","plugin_tags-shortcodes","plugin_category-customization","plugin_contributors-eavitan","plugin_committers-eavitan"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/dynamic-content-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This is the long description.  No limit, and you can use Markdown (as well as in the following sections).<\/p>\n\n<p>For backwards compatibility, if this section is missing, the full length of the short description will be used, and\nMarkdown parsed.<\/p>\n\n<p>The list of condition that can be applied:<\/p>\n\n<ul>\n<li>if is specific post ID<\/li>\n<li>if is specific post TYPE<\/li>\n<li>if is specific post CATEGORY<\/li>\n<li>if is specific post TAG<\/li>\n<\/ul>\n\n<p>Woocommerce:<\/p>\n\n<ul>\n<li>if is specific product ID<\/li>\n<li>if is specific product TYPE<\/li>\n<li>if is specific product PRODUCT_CAT<\/li>\n<li>if is specific product PRODUCT_TAG<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>dyco-shortcode.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place <code>[display][\/display]<\/code> in your anywhere with the relevant condition to the content of any page, builder.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20display%20specific%20content%20for%20products%20in%20specific%20page'><h3>How to display specific content for products in specific page<\/h3><\/dt>\n<dd><p>Just change the CATEGORY_NAME to the relevant category<\/p>\n\n<p>[display post_type=\"product\" product_cat=\"CATEGORY_NAME\"]\n    specific content you want to display in case the product is in CATEGORY_NAME\n[\/display]<\/p>\n\n<p>Also best if added alternative content to this condition (if its not the mention above category, what to display) and you do just by adding a parameter not=\"true\", and it will invert the query.\nThis way:<\/p>\n\n<p>[display not=\"true \"post_type=\"product\" product_cat=\"CATEGORY_NAME\"]\n    specific content you want to display in case its not CATEGORY_NAME\n[\/display]<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>publish to wordpress repo<\/li>\n<li>First test of plugin features<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Export from mu-plugin to proper Wordpress plugin<\/li>\n<\/ul>","raw_excerpt":"This Plugin Allows you to display specific content under specific conditions,","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/158226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=158226"}],"author":[{"embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/eavitan"}],"wp:attachment":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=158226"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=158226"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=158226"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=158226"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=158226"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=158226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}