wordpress Archive

  • Select Posts from a Category in WordPress Database

    Select Posts from a Category in WordPress Database

    Replace News with your own category name and you’re good to go. SELECT p.* FROM wp_posts AS p INNER JOIN wp_term_relationships AS tr ON tr.object_id=p.ID INNER JOIN wp_term_taxonomy AS tt ON tt.term_taxonomy_id=tr.term_taxonomy_id INNER JOIN wp_terms AS t ON t.term_id=tt.term_id WHERE p.post_status="publish" AND t.name="News" ORDER BY p.post_date DESC

    Read More

  • WordPress Exclude Page from Nav

    WordPress Exclude Page from Nav

    Want to exclude a specific page you have on WordPress from the Nav? Try the code below, most themes I’ve seen use wp_list_pages to populate the navigation. Replace 123 with the id of the page, and if there are multiple pages then separate with commas. wp_list_pages(array('title_li' => "", "exclude" => "123"));

    Read More

  • WordPress Carrington Themes

    WordPress Carrington Themes

    After much struggling with making edits to a nifty looking theme for WordPress that uses the Carrington platform, I would completely advise against using these themes if you plan on making changes to them for SEO purposes or whatever else reason. It’s so far from WordPress convention it’s not even funny. In order to change [...]

    Read More

  • How Do I WordPress

    How Do I WordPress

    That’s a pretty good question. There’s two ways of hosting a wordpress blog, either on wordpress’s website or on your own domain. I’ll cover hosting wordpress on your own domain here. First, if you’re hosting your own website you’ll need to download wordpress from http://wordpress.org/ Extract the files and upload to your web hosting provider. [...]

    Read More

  • LinkedIn on Arras WordPress Theme 1.4.2

    LinkedIn on Arras WordPress Theme 1.4.2

    Want to put the LinkedIn icon and link on your Arras Theme? This can be done with a few simple modifications to the Arras theme files. You’ll be needing to upload 3 files: LinkedIn icon header.php user.css Place your LinkedIn icon at wp-content/themes/arras-theme/images/linkedin.png Edit wp-content/themes/arras-theme/header.php, find “twitter” and add this line: <li><a id="linkedin" title="My LinkedIn [...]

    Read More