Support » Fixing WordPress » Replacement for plugin “widgets on pages”?

  • hilfesuchender2019

    (@hilfesuchender2019)


    For a project, I am using the twenty seventeen theme, customized by myself. On a page I want to include a list of the blog categories. There’s a widget for that but I would need to embed that in the page’s HTML code, since twenty-seventeen doesn’t offer a sidebar on pages, only on blog entries.

    I am using WordPress 5.2.4–de_DE and I’ve found the plugin “Widgets on Pages”, which is exactly what I want, but development of that plugin ceased and it hasn’t received an update for over a year and is not tested with my WordPress version. Are there other plugins that do the same as Widgets on Pages, but are still supported?

    • This topic was modified 3 weeks, 3 days ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • When I find something that looks useful I try it… if it works then great! If it doesn’t work then I’ve probably learned a little more about what I want to do to take with me when I find the next ‘great idea’ or plugin.

    Do consider though that the orphaned plugin will probably need a tweak or rework sometime in the future. The question then would be is this worth your time and headaches or is there something better coming down the pike to replace that plugin.

    Joy

    (@joyously)

    You can use blocks (most core widgets are blocks) or a plugin that provides a shortcode.

    hilfesuchender2019

    (@hilfesuchender2019)

    Do you recommend a shortcode plugin? As I said, I’ve already found one that does exactly this, but it is outdated and no longer supported. And that’s also the reason why I posted that thread – otherwise I would’ve just installed that plugin πŸ˜‰

    I also tried using blocks, but as soon as I submit my changes to the page in question, WordPress messes up my HTML. For example:

    <div class="flexwrap">
    <div class="mainContent">
    
    </div>
    <div class="sidebar">
    <div class="categories">
    <!-- wp:categories /-->
    </div>
    </div>
    </div>

    becomes

    <div class="flexwrap">
    <div class="mainContent">
    </div>
    <div class="sidebar">
    <div class="categories"></div></div></div>
    
    <!-- wp:categories /-->

    as soon as I click the submit button.

    Joy

    (@joyously)

    I am a programmer, so I am very comfortable using a plugin that is not “supported”. (Most plugins don’t really need support; they just work and so the author never updates, so it doesn’t look supported.)

    I don’t like blocks, so I can’t actually help you there. But WP 5.3 introduces the group block which allows you to nest things. Perhaps that would help in your case. It sounds like your sidebar should be a group block.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.