Posts with the tag WordPress
cd ~/Downloads git clone git://github.com/maxcutler/python-wordpress-xmlrpc.git cd python-wordpress-xmlrpc python setup.py install
ATTENTION! Do not follow this advice! It is of no use, now that I found the converter for Tags ↔ Categories: Categories to Tags Converter Importer!!!
Sometimes you give posts a tag but realize later it should rather be a category.
What you can do to convert a certain tag –...
Create the file
all-tags.php in the theme folder
<?php /** * Template Name: All Tags * * @package Suffusion * @subpackage Templates */ get_header(); ?> <div id="main-col"> <?php suffusion_page_navigation(); ?> <?php...
The script creates two files during the backup process. One that contains all the files in...
All you have to do is to create a folder for your child theme in
wp-content/themes/ and in there create a
style.css file like this one (Template):
/** * Theme Name: Suffusion modified by Philipp Klaus * Template: suffusion * Description: a customized version...
The TOC Generator Plugin does not work as it searches for HTML headings before the markup (in my case Markdown) is applied.
Markdown supports the [TOC] tag starting with Markdown version 2.0; untested though. Source: http://thomas.pelletier.im/2010/03/use-markdown-with-wordpress/. http://www.freewisdom.org/projects/python-markdown/mdx_toc contains python source code for this.
More untested solutions include:
When I programatically added most of the blog posts in this blog, I forgot to adjust the date and time of each post to its actual age. So I decided to set it via SQL directly in the database.
First I worked out a
SELECT query to filter all the entries...
Make the file
wp-content/themes/suffusion/single.php writable by running
chmod 666 wp-content/themes/suffusion/single.php and go the the URL of your blog that ends with
/wp-admin/theme-editor.php?file=/themes/suffusion/single.php&theme=Suffusion&dir=theme. Now look search the line with the content
<?php suffusion_before_end_post(); ?> and add the following line below:
cd /var/www/ wget http://wordpress.org/latest.tar.gz tar -xf latest.tar.gz rm latest.tar.gz
Markdown for Wordpress
Markdown is a great markup language for publications such as technical blogs as it keeps the structure of the text very readable, is...