Tell us what you are trying to do?
I'm learning to use "Dynamic Sources" as described in your lessons. But I just don't see the "Dynamic Sources" in the sidebar of core blocks. And I don't see the "Inline Fields" button in, for example, a core Paragraph block. Am I missing a Toolset plugin? Which Toolset plugin adds those features?
By the way, do "Dynamic Sources" work only in a Content Template? Or should they also work in core Posts and Pages? I don't know if they're even relevant outside of Content Template, because I can't see them, so I can't try them, so I don't yet fully understand how to choose where the dynamic data comes from.
Is there any documentation that you are following?
https://toolset.com/course-lesson/creating-templates-to-display-custom-posts/
https://toolset.com/documentation/dynamic-sources-in-popular-blocks/
https://toolset.com/course-lesson/display-dynamic-sources-inside-all-text-blocks/
Is there a similar example that we can see?
Not sure what you're asking.
What is the link to your site?
hidden link
Hello,
Please elaborate the question with more details.
Which block are we talking about? please take a screenshot for it.
With Toolset Blocks plugin, there are lots of block you can choose:
https://toolset.com/block-item/
But none of them is using name "text block".
If you are going to display a custom field created with Types plugin, you can try Toolset Single Field block, see our document:
https://toolset.com/block-item/single-field/
If you want to display the custom field in a paragraph block, you can try Types shortcode:
https://toolset.com/documentation/customizing-sites-using-php/functions/
for example:
[types field="my-singlelinetext"][/types]
I'm sorry. It sounds like I gave you completely the wrong understanding of my question.
"Which block are we talking about?" As I said, the WordPress core blocks. (NOT the Toolset blocks.) For example, the core blocks Toolset lists here:
https://toolset.com/documentation/dynamic-sources-in-popular-blocks/
"But none of them is using name 'text block.'" No, not a block called "text." I'm using the phrase "text block" as used by Toolset here:
https://toolset.com/course-lesson/display-dynamic-sources-inside-all-text-blocks/
Toolset says, "Toolset allows you to display Dynamic Sources, like custom fields, inside any text blocks including headings, buttons, and more."
But when I try to follow the instructions given there, I simply don't see Toolset's Inline Fields button.
I hope that's more clear. What am I missing?
(I believe your comment about the Types shortcode is not relevant to my question.)
I have tried it in my localhost with a fresh WP installation + the latest version of Toolset plugins(Types + Blocks).
1) Create a post
2) Add a paragraph block
It works fine, I can see the Inline Fields button without any problem, see my screenshot inline.JPG
So the problem you mentioned above is abnormal, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/
2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2021, deactivate all custom PHP/JS code snippets, and test again
3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
Sorry for the delay. I do intend to perform the troubleshooting steps you recommended.
OK, now I'm even more confused: Please clarify the difference between the Toolset "Blocks" plugin and the "Views" plugin. Which should I be using?
The troubleshooting steps you suggested didn't fix the problem: "Dynamic Sources" still did not appear on WordPress core blocks.
But while reading "Debugging sites built with Toolset" as you suggested, I noted "The Views debug tool." I had not investigated the "Views" plugin, because it's not used by the "Speakers & Events" showcase we're using as a reference.
So I installed "Views" and tried to activate it, but an error message said only "Blocks" or "Views" must be used, not both. So I deactivated "Blocks" and activated "Views," and now I see "Dynamic Sources" on core WordPress blocks.
The "Views" plugin isn't even mentioned in the page listing "Toolset Components":
https://toolset.com/home/toolset-components/
Please clarify:
- Is "Views" a supported plugin? Why is it not listed in "Toolset Components">
- How do I choose between "Blocks" and "Views"?
- What other features are available only in "Views"?
- Are any features of "Blocks" NOT supported by "Views"?
- Is it significant that the "Speakers & Events" showcase uses "Blocks" rather than "Views"?
Toolset Blocks plugin is the advanced version of Toolset Views plugin, and Toolset Views plugin is in maintenance status, so we recommend to use Toolset Blocks plugin, and you can not activate both those two plugins at the same time.
For the original question of this thread: "Dynamic Sources" problem
If you need to more assistance for it, please provide a test site with the same problem, also point out the problem page URL, I need a live website to test and debug, and I need to deactivate plugins/theme in your website, you can backup your website first.
Private message box enabled.
In preparation for giving you access, I spun up a new WordPress instance with the config as close as possible to the problem instance, except I activated Toolset Blocks rather than Toolset Views. I was unable to reproduce the problem on that new instance.
So I went back to the problem instance, deactivated Toolset Views, activated Toolset Blocks, and now I am unable to reproduce the problem on the original instance.
The only other change since I last posted here was the updated of Toolset Types to 3.4.7. I don't know whether that might be the reason.
Thanks for your persistence helping me troubleshoot, and for the explanation of Toolset Views vs. Toolset Blocks.
My issue is resolved now. Thank you!