• MY WP installation is heavily controlled by the university. I have no access to add plugins, etc. I would like to call an existing widget (one that shows recent blog posts) so populate a Page. Is there a way to do this using HTML?

    The site is cveda.ehe.osu.edu. The widget currently appears in the right sidebar area with the title BLOG: WORDS MATTER. Using Developer Tools in my browser, I can copy the OUTER HTML to recreate the widget, but this does not change it dynamically. Using Developer Tools I can copy the CSS selector (#recent-posts-2) and I can copy the X-PATH (//*[@id=”recent-posts-2″]).

    How to I place this information into a page (https://cveda.ehe.osu.edu/ideas/blog/), using HTML syntax to update automatically, based on the Widget?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @hbwilson,

    Could you elaborate a little on “I would like to call an existing widget (one that shows recent blog posts) so populate a Page.” I am finding this a little difficult to infer.

    I don’t think you can achieve this just using HTML. Do you know what widget is this? Does it have a short code that you could possibly use on other pages?

    Thread Starter hbwilson

    (@hbwilson)

    Tanveer-
    Thanks for the response.

    The widget dynamically lists recent posts and links to them. Instead of this functionality only in the right sidebar, I want to have a page with a post overview (that I can edit) that ALSO includes a dynamically updating list of recent posts.

    If only I could just drag the widget onto the page…

    I’m not aware of a shortcode for it. Is there a way I could use a Developer Tool to look for it?

    Moderator bcworkz

    (@bcworkz)

    This sounds like it could be WP core’s Recent Posts widget, though there are many variations on this. The core version has “widget_recent_entries” as a class of an aside tag. AFAIK it has no shortcode option.

    Unless you can enter PHP code somewhere, shortcodes are your only option. And if you cannot find an existing theme or plugin that offers such functionality through shortcodes, I’m afraid you are stuck.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML to place an existing widget into Page–without any plugins.’ is closed to new replies.