Recently I wanted to update a particular WordPress installation to use something other than the theme’s style.css file as it’s default CSS document. Here is the code to enable that:
Recently I wanted to update a particular WordPress installation to use something other than the theme’s style.css file as it’s default CSS document. Here is the code to enable that:
Insert this into your wp-config.php file to force a new URL on a WordPress blog: Very useful for the initial move before being able to hop in to the database and correctly update everything.
SELECT ColumnOne, ColumnTwo, ColumnThree FROM Table ORDER BY CASE ColumnTwo WHEN ‘miny’ 1 WHEN ‘meeny’ 2 WHEN ‘eeny’ 3 WHEN ‘moe’ 4 END, ColumnThree
INSERT INTO dbo.Destination ( FieldOne ,FieldTwo ,FieldThree ,FieldFour ,FieldFive ) SELECT FieldOne ,FieldTwo ,FieldThree ,FieldFour ,FieldFive FROM dbo.Source