• Resolved barefootminimalists

    (@barefootminimalists)


    How do I add the popular posts block that I actually need? I’m just not seeing a way to add it.. When I look at my widgets I am only seeing the ‘WordPress Popular Posts’ (it doesn’t have classic in the name but I am still seeing the error message). How do I replace it with the correct block?? Here you can see the popular posts widget:?https://imgur.com/a/JsnZPE4

Viewing 12 replies - 1 through 12 (of 12 total)
  • You have to disable/remove the plugin Classic Widgets from your Plugins

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @barefootminimalists,

    Well, as I mentioned on the other topic, you won’t be able to use the WordPress Popular Posts block on your site’s sidebar due to your current site’s configuration so for the time being you’ll need to use the [wpp] shortcode instead.

    Please follow these instructions so I can help you migrate your current popular posts widget into the shortcode version:

    1. Go to Appearance > Widgets > Primary Sidebar.
    2. Click on the WordPress Popular Posts widget to expand it.
    3. Take screenshots of the settings you’re using with the widget and share them here so I can see how it’s currently configured.
    Plugin Author Hector Cabrera

    (@hcabrera)

    You have to disable/remove the plugin Classic Widgets from your Plugins

    This is also an option, however other widgets might not work with the new block-based Widgets Editor screen @johncod so OP would need to evaluate this first as migrating the other widgets might require some extra work. Thanks for suggesting this though!

    Thread Starter barefootminimalists

    (@barefootminimalists)

    Hi @hcabrera!
    Below are screenshots of the settings I currently am using. Thanks!

    https://ibb.co/K2PR5qq
    https://ibb.co/nRzYSXJ

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hey @barefootminimalists, good day!

    Alright, try this:

    1. Add a Text widget right below your WordPress Popular Posts one.
    2. Add the following shortcode to it and save changes.
    [wpp header='Reader Favorites' limit=3 post_type='post' range='all' thumbnail_width=600 thumbnail_height=600]

    You may need to adjust the styling of the list. You’ll know once you compare the popular post list that the widget renders vs the shortcode version. If it does need adjustments of some sort and if you need help with that as well please let me know and share your site’s URL so I can have a look. (Don’t remove the classic WordPress Popular Posts widget if so though, otherwise I won’t be able to know what may need adjustments :P)

    • This reply was modified 1 year, 4 months ago by Hector Cabrera. Reason: Changed Custom HTML widget to Text widget
    Plugin Author Hector Cabrera

    (@hcabrera)

    Actually, you don’t need the header='Reader Favorites' bit. Just title your Text widget as “Reader Favorites” and remove the header parameter from the shortcode. It should look like this now:

    [wpp limit=3 post_type='post' range='all' thumbnail_width=600 thumbnail_height=600]
    Thread Starter barefootminimalists

    (@barefootminimalists)

    Hi @hcabrera looks like it worked great! Thank you so much for all your help. Super appreciate it ??

    Plugin Author Hector Cabrera

    (@hcabrera)

    You’re welcome, @barefootminimalists! Glad I could help!

    Thread Starter barefootminimalists

    (@barefootminimalists)

    @hcabrera hello again! Is there anyway to remove the text that has the number of views? Thanks: https://imgur.com/a/3KHzmJv

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @barefootminimalists,

    Just the text? Or both the text and the views count as well?

    Thread Starter barefootminimalists

    (@barefootminimalists)

    @hcabrera I apologize for the confusion. Just the view count

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright, this updated shortcode removes the views count from your popular posts list:

    [wpp limit=3 post_type='post' range='all' stats_views=0 thumbnail_width=600 thumbnail_height=600]
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How do I migrate from the classic widget to the block or the shortcode?’ is closed to new replies.