grabbing widgets from posts and placing them on pages

  • Unknown's avatar

    BACKGROUND: I have run into a problem. The academia theme has separate widget columns for pages and posts. I have created menus for the left column for posts, but now want them also to appear on the pages. I have separate menus for each episode (67 total), so that would mean I would have to copy the text in each of these widgets, and create corresponding widgets on the pages. This would require a lot of work. (Creating tags will not work since the widgets for pages and posts are in different sections/containers.)

    QUESTION: Is there a way (using the html widget) that I can create come code that would grab the text in a widget and place in the column on the page?

    Here is an example of a page.

    https://game-of-thrones-episodes.com/704-the-spoils-of-war/

    Notice that the menu for scenes is in the center, and I have the IMDb links at right. This however, is not user friendly, because the menu does not correspond to the scene menu on posts. See this example:

    https://wordpress.com/page/game-of-thrones-episodes.com/4855

    I sure hope this makes sense, please don’t regard if it does not. Allow me to clarify. Thanks.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
  • Unknown's avatar

    IMPORTANT–READ FIRST: I don’t want to waste anyone’s time (I do enough of that myself by “thinking too hard” and trying to do difficult things.) Sometimes (usually late at night) my mind is a mess. The next morning I am more sensible.

    I decided not to do this after all, but it would be nice to know if it is possible (I mean an easy thing to do).

  • Unknown's avatar

    What about duplicating those widgets on the posts sidebar that you wish to have on pages and put them into the pages sidebar? There isn’t anyway to add widgets from the posts sidebar on pages using CSS since those widgets do not exist in the pages HTML. You can also use Widget Visibility if you wish to not have the page sidebar widgets appear on all pages.

  • The topic ‘grabbing widgets from posts and placing them on pages’ is closed to new replies.