Re-use single post TOC in archive page
-
Hey Marc,
no need to remember me, I already dropped 5 stars for your great plugin ??
My problem of today: how could I re-use the toc on the archive page, as kind of a teaser / excerpt / preview?
I am using ACF, GeneratePress Premium, and GenerateBlocks.
ACF delivers the Custom Post Type.
The single page is almost perfect, as a GB content template. Including a SimpleTOC block, that is doing its thing.
Now, building the archive page for this CPT, my question is, how could I re-use the output of your plugin, showing up below the post title etc.?
Any idea, how to glue SimpleTOC to an ACF, how to grab its HTML output by a PHP snippet, shortcode it or something?
Thanks in advance again
Wolfram
- The topic ‘Re-use single post TOC in archive page’ is closed to new replies.