Widget HTML – I am on the right track. But need some insight.
-
I am trying to track down the html code for a widget. I just need to insert some <p> tags to separate things a little. The tags in the widget do not seem to be working.
I used firefox / internet explorer developer tools to find the css for the widget to see if that would help me find the html. Thats easy.
[Code moderated as per the Forum Rules. Please use the pastebin]All those are not working so I need to change things. Now that I have the CSS classes, I started to look through my entire WordPress installation. I even downloaded the files and tried to search for the css within the file contents. No luck.
I started digging deeper and did some googleing on how the widget system works and where they are stored. Saw a number of posts talking about some widget information in the database. So I connected to my database via phpmyadmin. I look through the tables and searched for and tags, but nothing was relevant to the html I am seeing through Firebug/IE Developer Tools.
So then I went back to the plugin folder itself. I found a number of base64 encrypted files in wp-content/plugins/wishlist-member/core. So I began decrypting the files one by one to look for clues. One file in particular ‘AnotherWidget.php’ looked promising. The plugin actually comes with two widgets. From Appearance -> Widgets ‘Another Wishlist Member’ and ‘Wishlist Member’ are available. I am using ‘Wishlist Member’ widget. So anyway, I decoded the php file and here is what I get.
[Code moderated as per the Forum Rules. Please use the pastebin]
Although I am not entirely sure if this is completely decrypted; because of all the Y’s, I do not see the tags I am looking for.
Any insight on where to look next would be appreciated.
You can see the widget in action on this page. https://www.wp101.com/ On this page the tags are working fine and this login form seems to be working. But those same tags are not working on my site. So I will investigate on how to make the tags work. But I still would like to change the html on this widget.Any help is greatly appreciated!
- The topic ‘Widget HTML – I am on the right track. But need some insight.’ is closed to new replies.