Hey there!
I have a case where we’d like a menu item to be dynamic. I tried something like {{dc:global:home_url}} in the URL field of a Custom Link. I’m thinking maybe dynamic content is being replaced on the_content filter?
Thanks for any insight!
Hey there!
I have a case where we’d like a menu item to be dynamic. I tried something like {{dc:global:home_url}} in the URL field of a Custom Link. I’m thinking maybe dynamic content is being replaced on the_content filter?
Thanks for any insight!
Hello @powrider686,
Thanks for writing to us.
Please note that the dynamic content code is going to work only on the builder, it is not going to work on the WordPress default menu. In case you want to list the recent post dynamically on the Header menu please make sure you are using the Pro theme custom Header. You can use the looper to list the post on the custom Header. You can call the post title using the dynamic content code {{dc:post:title}} and set the permalink using the {{dc:post:permalink}}
Hope it helps
Thanks
You’re welcome.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.