Select Page

Installing phpDocumentor

I wanted to create documentation for my most recent PHP project.  My code was all set and in a form that it should be in – I just needed a way to generate the docs.  I considered two options: phpDocumentor ApiGen Ended up going with phpDocumentor because it...

Navbar Dropdown Woe

Came across an issue with the Bootstrap navbar dropdown with respect to WordPress.  Here’s the issue: Download Bootstrap and put it up on your website (reference the min.css and min.js files). Go to the sample code for the Default Navbar in the Bootstrap docs...

Admin bar not showing

I am developing a new theme from scratch.  Came across an issue where the black admin bar (runs along the top of a site for Administrators) was not displaying.  Turned out that I had wp_head() called from within my header.php file, but did not have wp_footer() called...

A weird Javascript behavior

There is a webpage I visit where I click on a link and some Javascript kicks in to display a textbox that was previously invisible.  Recently, I went back to this webpage and noted that the textbox was no longer appearing. Knowing a bit about Javascript and Google...

WordPress loses user info after login

The problem WordPress comes with a login mechanism – stored in wp-login.php (installed in your base folder, typically).  There is a case I came across where a user would do the following: Navigate to pagea.php (this page has some content that is shown when...