• Anonymous User 20138280

    (@anonymized-20138280)


    Hello,

    I created a list via “WP Show Posts” and added in the right sidebar about a widget.

    All WP Show Posts have a title that is rendered as an <h2> tag. This is not ideal for seo. It is possible to change this tag?
    Example:
    <h2> class="widget-title">Spezialthemen</h2> to <span class="widget-title">Spezialthemen</span>

    In my widget I need only a post header list and not content from the post and also buttons. Is it possible to deactivate all other things so that the html-content is clean.

    Delete the entire area:
    <div class="wp-show-posts-entry-summary" itemprop="text">

    Code excample:
    https://drive.google.com/file/d/1bjpNC9v165SkCeW8WBmqX5ok3kANjrL6/view?usp=sharing

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Elvin

    (@ejcabquina)

    Hi there,

    You can change the tag of the title through WPSP setting’s content tab. You should see a Title field where you can set the tag as shown here – https://share.getcloudapp.com/X6ubpqBL

    As for the entry summary/content, on the same content tab, you can set the “Content type” dropdown to “none”.

    Thread Starter Anonymous User 20138280

    (@anonymized-20138280)

    Hi evlin,

    thanks for your answer. The problem regarding empty content, I could solved with your hint.

    The title element is for the individual list elements but not for the header of the whole list.

    I mean this tag:

    <aside id="wpsp_widget-3" class="widget inner-padding widget_wpsp_widget"><h2 class="widget-title">Spezialthemen</h2>

    Below this tags comes the list elements.

    Plugin Support Elvin

    (@ejcabquina)

    I see,

    For the widget title, you can remove it through Appearance > Widgets.

    If you’re using the latest version of WordPress, you should be able to edit the widget area w/ Block editor and remove the Block that adds in the title.

    If you’re using pre 5.8 version of WordPress, you can remove it by keeping the widget title field empty.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customize Widgets – WP Show Posts List’ is closed to new replies.