Support » Plugin: RDP Wiki Embed » How do you hide the general info box that’s on the right side of every page?

  • The info box that’s on the right side of the Wikipedia pages (for example, the section where it shows birth dates, years in office, a photo of the subject, etc.) is taking up a huge amount of space before it gets to the TOC or the main content. Is there any way to hide that so it starts with only the table of contents? I thought infobox_show=”0″ would have been it but that does nothing when set to zero. Any help would be appreciated. Also, formatting the text to match the theme of your site.

    • This topic was modified 8 months, 4 weeks ago by  johnnybiggles.
    • This topic was modified 8 months, 4 weeks ago by  johnnybiggles.
Viewing 1 replies (of 1 total)
  • Plugin Author Robert D Payne

    (@rpayne7264)

    Two options:

    1) Add PHP code that uses the RDP_WE_SCRUB_REMOVE_ELEMENTS_FILTER or RDP_WE_PRERENDER_REMOVE_ELEMENTS_FILTER

    2) Add remove attribute to the shortcode with value equal to a comma separated list of CSS selectors for HTML elements you want to remove.

Viewing 1 replies (of 1 total)
  • The topic ‘How do you hide the general info box that’s on the right side of every page?’ is closed to new replies.