Forums

Default Page Widget (3 posts)

  1. Lysistrata
    Member
    Posted 2 years ago #

    Can anyone tell me the code for the default page widget? I think (hope?) once I saw it I could toss it into a plugin file and tweak it to get what I want out of it, but when I open widgets.php in the includes directory and do a search for the term 'page', nothing at all comes up. I'm confused and a bit overwhelmed!

  2. ClaytonJames
    Member
    Posted 2 years ago #

    You may want to consider customizing the page widget from your theme, rather than the wordpress core files. Most times, the default widgets for a particular theme can be found in the sidebar.php file in that themes directory.

  3. Lysistrata
    Member
    Posted 2 years ago #

    I did that, but my edits disappear as soon as I start putting in other widgets in the admin area.

Topic Closed

This topic has been closed to new replies.

About this Topic