Category: wordpress
-
WordPress – Change the number of latest blog posts
Steps to change the number of recent posts in WordPress Blog Dashboard -> Appearance > Widgets > Recent Posts > Edit > [Set desired number of posts] Tried this as well – didn’t quite work: Dashboard > Settings > Reading > Blog pages show at most References 1. Increase the number of recent posts shown…
-
WordPress – How to disable post comments
How-To 1. Login In 2. a. Top Right of Page -> “Screen Options” -> [Show on screen] Uncheck comments OR 2. b. Bottom Left of Page -> Settings -> Discussion -> Discussion Settings -> Uncheck Comments… References 1. Source: http://en.support.wordpress.com/enable-disable-comments/
-
WordPress – Simple Blog Installation in Ubuntu – PHP, Apache, MySQL
Installation #php sudo apt-get install -y php5 #php5 with apache2 sudo apt-get install -y libapache2-mod-php5 #optional: execute standalone php scripts sudo apt-get install -y php5-cli #mysql driver for PHP5 sudo apt-get install -y php5-mysql #unzip sudo apt-get install -y unzip # mysql sudo apt-get install -y mysql # apache webserver sudo apt-get install -y apache2…
-
Code Syntax Highlighting in WordPress
Install the Crayon Syntax Highlighter through the WordPress Admin dashboard: Plugins -> Add New -> Search Plugins Code: <pre class=”theme:neon toolbar:2 nums:false plain:false scroll:true lang:ps mark:5 decode:true”> a@a:~$ ls -l total 972 lrwxrwxrwx 1 a a 44 2012-03-12 08:41 data -> /remote-server/data/ drwxr-xr-x 2 a a 4096 2012-03-12 08:30 Desktop drwxrwxr-x 2 a a 4096…