• Resolved news4dave

    (@news4dave)


    Hi there,

    any thoughts on how to avoid these titles from being generated on all pages? Posts are fine as I only use VC on pages.

    Page Title | [vc_row row_height_percent=”0″ override_padding=”yes” h_padding=”2″ top_padding=”3″ bottom_padding=”3″ overlay_alpha=”50″ gutter_size=”3″ shift_y=”0″]…

    Thank you.

    https://wordpress.org/plugins/autodescription/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi news4dave,

    I noticed that recently Divi and Visual Composer shortcodes aren’t correctly detected by WordPress’ own strip_shortcodes function when stripping the description of such.

    I’ll take a good look at this for the next update, you’re not alone with this issue.

    Recommended (temporarily) solution:
    For now, a cure-all would be to add your own manual description, which is also highly recommended at almost all times. The generation is a convenience feature.

    I hope this clears things up! I’ll keep you posted on the status.
    Thank you in advance for your patience and have a great day!

    Thread Starter news4dave

    (@news4dave)

    Thank you for letting me know.

    Any status update on this issue?

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi Marko, news4dave,

    This is because there might be a wrong Shortcode stack created.
    Just like with HTML, it should be semantic and tags should be closed in order.

    For example, Divi and other page builders might create this, which can’t be processed as a valid shortcode; even though the Divi builder parses it correctly:

    [shortcode_1]
    	[shortcode_2]
    [/shortcode_1]
    	[/shortcode_2]

    Or, the shortcodes might not correctly be added to the global $shortcode_tags yet when trying to fetch the content.
    (Source)

    However, now I think of it, I could add a special check (when possible) to determine if the page has been built up using Divi. How does that sound? It should be much, much faster as well :)!
    This should be reflected upon many page builders, so I’ll go out on the look for it.

    It’s on the roadmap for 2.6.6 (when possible)! Stay tuned :).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Automatic Custom Page Description with Visual Composer’ is closed to new replies.