Pods Framework for WordPress

I am about to start a very complex WordPress build. The design will be quite limited it will all be about the backend I found this Plugin

Pods Framework for WordPress

Pods is a framework for WordPress that allows you to create, extend, manage, and deploy customized content types and fields.

CPT-onomies WordPress Plugin

I am working on a big website for the African securities Exchange Association that is used as a platform for Various Stock exchange’s across Africa to share and exchange information. I have really had to go back to the drawing board with WordPress, over the last few websites I have used some seriously powerful Plugins the best being Advanced Custom Fields, for this website I wanted to take this a step further and create my own custom post types.

I looked at many places to actually create my own plugins to do this (I will learn this one day) but I am no fan of reinventing the wheel so decided to see what was out there to get this done. I found CPT-onomies and it is exactly what I am looking for to create my own Custom Post Types.

For this website I am using Custom Post Types with Advanced Custom Fields together with Custom Post Templates.

I am always surprised by the knowledge that is out there available for free, and how easily some people share this knowledge with the world.

Sorting posts via custom field outside the loop WordPress

So I been creating a site that uses WordPress for the CRM, but the site is located outside of WordPress. I have a page for frequently asked questions(FAQ), that pulls in all posts with FAQ as its category and uses the title of the post as the question and the content of the post as answer. Sounds complicated but not so bad, also the client wanted the FAQ to be sorted, so I created a custom field for priority, so the client can have as many FAQ as he wants but what he selects as the order is available on the site.

First Step:

Add a custom field to the posts for popularity, the field has to have a number else it will not be show on the page, I gave all FAQ posts a value of 20 the client can go in afterwards and change the ranking

Secondly



 <dl>
                    	<?php
if (is_page()) {
  $cat=get_cat_ID($post->post_title); //use page title to get a category ID
  $posts = get_posts ("cat=$cat&showposts=20&meta_key=popularity&order=meta_value");
  if ($posts) {
    foreach ($posts as $post):
      setup_postdata($post); ?>
      <dt><?php the_title(); ?></dt>
      <dd><?php the_content(); ?></dd>
    <?php endforeach;
  }
}
?>
<?php endwhile; ?>
</dl>

The red is the magic, cat refers to the category of the post, meta_key is the custom field name and this I have placed on ascending list. All the entries in the site are quite easy I am no code ninja and with a bit of tweaking all of this is possible.

View WordPress Pages outside WordPress

Well what a day I have been working on a very extensive website, for IT Health. That will use WordPress as a CMS system. I could have created a custom theme for WordPress but unfortunately it is just not one of my current skills. Maybe my next site will have a full custom theme. But what I am doing is adding some PHP script to read the pages I want from WordPress. I am using 3.3.1 version.

The PHP in the Head of the document: The red is the location to the wp-load.php and the page id in blue.

<?php
// Include WordPress
define('WP_USE_THEMES', false);
require('../cms/wp-load.php');
query_posts('page_id=11');
?>

In The Body: I only needed the title and content.

<?php while (have_posts()): the_post(); ?>
<h1 class="page_content_header"><?php the_title(); ?></h1>

<?php the_content(); ?>
<?php endwhile; ?>

This really is not fancy at all very basic and simple.

Honingklip 4×4 Website go’s live

Well the Honingklip 4×4 site has gone live. This site is done exclusively in WordPress and uses plugins available for free from WordPress. I used the essense theme and modified it for the website. It uses a few jQuery plugins for header and Gallery section. It also includes a calendar, google maps and a follow tool.

www.honingklip4x4.co.za

New Client Mandoval Vermiculite

I signed a new client for web development Mandoval Vermiculite.

Mandoval Vermiculite cc was registered over 40 years ago as a company to establish market opportunities for Vermiculite usages in South Africa and abroad. The brief is for a site that is professional, and can stand the test of time, a site that reflects the companies drive for quality. With emphasis on their product range.

The site will be deigned with WordPress as the CMS with a unique front end deigned by Anomalous. I am excited to start working on this site, as I will be responsible from initial concept all the way to launching the site.

New client vitality by design.

Well today is a good day just signed up a new client  Vitality By Design (Have to love Family).

Vitality by design is a homeopath practice based in Durban. The brief is for a website, that is easy for the client to keep up to date with new content. A blog section for client newsletters. The site also needs to integrate into social media sites easily.

I suggested to the client: WordPress and they are happy to move forward with this. The site will not have a generic theme but a unique theme designed by myself. I am very eager to move forward with the site, it encompasses all my new design skills.