Olivia Morgado Photography

Although this is not a new website, I finally got around to adding this site to my portfolio, which I should have done a while ago. I did this website for a very talented photographer and cinematographer Oliva Morgado and you can check out her website here. We took the design provided by Makers of Stuff and created a Drupal template for Olivia, then built the website so that Olivia could maintain her own images and categories.

 

WordPress 3.3.1 – Edit Meta Menu Widget

Okay, first thing I learnt while trying to set up this new website is how to edit the Meta Menu Widget in WordPress 3.3.1

One ways is to just remove the widget from Appearances > Widgets. Being that I didn’t feel like copying the links I actually wanted into a new widget I went in search of the php code that was behind the widget. I saw online references to widgets.php in the wp-includes folder but in 3.3.1 this does not contain the actual code for the Meta Widget. The php code for that widget is now located in default-widgets.php also found in the wp-includes folder. Search for the following to find the correct class:

class WP_Widget_Meta extends WP_Widget {

just below that on line 286 in default-widget.php is the function that builds the widget:

function widget( $args, $instance ) {

removing the <li>…</li> entries will remove the menu item, for example removing this line:

<li><?php wp_loginout(); ?></li>

will remove the Log out and Log in links.

Welcome to our new site.

Hi,

Finally I got around to doing something more with my site, until now it has been very much the case of the cobbler’s children having no shoes! I am starting to rectify that and what you see here is the start of that process. Of course, as always, other things especially paying things will take priority but