Warning: Declaration of CJTPlusInstaller::run() should be compatible with & CJTServicesInstaller::run() in /home/cjtdev/public_html/dev/wp-content/plugins/css-javascript-toolbox-plus/Installer/Installer.class.php on line 90
Topic: How to assign to all posts (present and future) from 1 Custom Post Type? | CJT Staging

Get 20% Discounts! offer in 2 days

How to assign to all posts (present and future) from 1 Custom Post Type?

NEW Landing page Support Support Tickets How to assign to all posts (present and future) from 1 Custom Post Type?

Viewing 1 reply thread
  • Author
    Posts
    • #9526
      Antonio Almeida
      Participant

      Hi Damian,

      Is it possible to assign a block to all post inside 1 specific CPT?

      Thanks,
      Antonio

    • #9535
      Ahmed Hamed
      Participant

      Hello,

      Its not possible to do that through ‘Custom Posts’ tab however its still possible to do that using Advanced Expression assignment:

      You can do that by using expression as following:

      ^http:\/\/EXAMPLE.COM\/CUSTOM_POST_TYPE(\/?|\/.+)\?.*$

      You need to replace EXAMPLE.COM by your WordPress website address and replace CUSTOM_POST_TYPE by custom post type name (ie: products, items, downloads, etc…)

      Please let me know if you still need anything.

      Regards,
      AHMeD

Viewing 1 reply thread
  • You must be logged in to reply to this topic.