public marks

PUBLIC MARKS from mozkart with tag wordpress

20 December 2011

Wordpress Date Field | Matthew Haines-Young

echo date("l jS of F Y", get_post_meta($post->ID, 'date_value', true));

16 December 2011

Customizing theme options through a child theme | WooThemes

This is currently a limitation with our datepicker field type which we will be resolved by the inclusion of our timestamp field type in the new year. This field type is already available, if you'd prefer to add it manually using our custom woo_metaboxes_add() function. We have a tutorial on this here: http://www.woothemes.com/2010/07/customizing-theme-options-through-a-child-theme/ This field does, however, at present require the use of the PHP date() function, as it is new. Currently, the field stores the value as a UNIX timestamp which, when passed through to the date() function, can create a date in any format (while the date is visually still in the m/d/y format when added via this field, it is transposed into a timestamp). If you don't feel comfortable with this amount of PHP code, I'd recommend a simpler solution, which would be a text field with a description, explaining that the date is to be entered in, for example, the YYYY-MM-DD format, which would be suitable for sorting by date.

Order Posts by Custom Key revisited

ORDER POSTS BY CUSTOM KEY REVISITED By BRANDON | Published: JANUARY 13, 2009 I’ve gotten quite a few questions about how to get this to work on a specific page, or only within a specific category. I actually had the same issue when building the script originally. The trick is that you can’t just use the conditional tags in the functions page. At that point, it’s already too late because the queries have already been run. You have to create a function and then run it as a filter on one of the early WordPress initializing functions. I chose the wp() function. Here is my revised code (nearly straight from the client’s site).

Meta Box Script Update V3.0 - Deluxe Blog Tips

After 2 posts in series of creating meta box, I received many ideas and opinions that really helpful. I appreciate that, and I want to give big thanks to all our contributors. It has been a while since the last version of meta box script (2.4.1). Today I want to show you the next major version (3.0) with many improvements in the code, which supports better for OOP, gives big opportunity to developers to extend the class. And of course, some field types are added as well as some bugs are fixed.

How To Create A Better Meta Box In WordPress (Part 2) - Deluxe Blog Tips

After I wrote the article How To Create A Better Meta Box In WordPress Post Editing Page, I received some questions that asked me how to create multiple meta boxes for multiple post types (in WordPress 3.0). So I decide to improve the script to do that.

How To Use WordPress Custom Post Type Query to Sort by Date | DesignHammer Website Design and Development in North Carolina

(via)
One thing we were trying to achieve was an Events listing solution that was fundamentally simple. Date, times, location and a description. Many of the events plugins out there seem to store their data in a database table specifically created for the plugin, something that won't play nice with MultiSite. The ideal solution would be a list of events that stores its data in each network site's unique database table structure. Therefore, we chose to set this up as a custom post type with a date picker attached to a custom meta box. We would store the date in a custom field. Simple enough. One thing that had us racking our brains for a while was how to sort the dates in a useful way.

15 December 2011

Wordpress: Sort Order by Custom Field for specific Category - PHP - Snipplr Social Snippet Repository

(via)
Put this before the loop in archive.php to have posts in the archive for category '26' sorted by custom field 'date'. Assign sortable values like '090501' or '2009-05-01' to those fields when editing posts and your Upcoming Events will be sorted by the future date at which they will take place.

09 December 2011

HTML Formatting for Custom Menus | Digging into WordPress

For some projects, it’s nice to output clean, well-formatted markup. Using theme template files enables great control over most of your (X)HTML formatting, but not so much for automated functionality involving stuff like widgets and custom menus. One of my current projects requires clean, semantic HTML markup for all web pages, but also takes advantage of WordPress’ custom-menu functionality to make things easy. In this DiW article, we’ll see how to enjoy both: WordPress custom menus and clean, well-formatted HTML markup.

08 December 2011

WordPress › Relations Post Types « WordPress Plugins

WordPress 3.0 and up allow to manage new custom post type. Cool ! This plugin allow to build relation between 2 custom types, very useful for manage related content.

WordPress › Posts 2 Posts « WordPress Plugins

Efficient many-to-many connections between posts, pages, custom post types, users.

cubica/p2p-wpml - GitHub

p2p-wpml is a Wordpress plugin that integrates iCanLocalize's WPML and Posts 2 Posts.

06 December 2011

Modular CSS in WordPress Child Themes | ThemeShaper

In this post you’ll learn how to leverage modular CSS in your WordPress Child Themes by looking into another directory with @import or the link tag. We’ll be making a Child Theme called Chiron that will use the modular CSS of the Thematic Theme. A theme you can use as the basis for further customization—and for following along with future posts in this series.

05 December 2011

Affiliate Hide – Free wordpress plugin to redirect affiliate links!

A very simple and useful WordPress plugin to hide/cloak and redirect affiliate links based on custom fields. All you have to do is create a custom field `URL` in your wordpress post and specify the affiliate link there. This plugin can come in handy for gallery wordpress blogs where you are listing products or themes or services. Checkout this site and see how this plugin is practically used. This plugin masks the affiliate links like shown below.

04 December 2011

CSS Properties | HTML Dog

by 3 others
This section contains information about all of the valid properties belonging to the CSS 2.1 standard.

01 December 2011

27 November 2011

WordPress › SEO Ultimate « WordPress Plugins

(via)
This all-in-one SEO plugin gives you control over title tags, noindex, meta tags, slugs, canonical, autolinks, 404 errors, rich snippets, and more.

WordPress › Post Thumbnail Editor « WordPress Plugins

(via)
Fed up with the lack of automated tools to properly crop and scale post thumbnails? Maybe this plugin can help. To meet the needs of themes where the post-thumbnails have random and capricious sizes (which causes wordpress to crop images simply from the middle (either chopping off the top and bottom or chopping off the sides), this plugin attempts to give the users an interface to manually fix those thumbnail and random images.

WordPress › Simple Image Sizes « WordPress Plugins

(via)
This plugin allow create custom image sizes for your site. Override your theme sizes directly on the media option page. You can regenerate all the sizes you have just created and choose which one you wanted to regenerate. You can now get all the code to copy and paste to your function theme file. Now you can use the generated sizes directly into your posts and insert images at the right size ! Now you choose if you want display the size in the post insert image. Now you can regenerate the images one by one in the 'Medias' general pane.

Quel cache pour Wordpress ?

(via)
c'est Super Cache et DB Cache reloaded qu'il vous faut, preuve à l'appui avec ce benchmark de SeoMix !

23 November 2011

Handcrafted WP Starter Theme « Randy Jensen Online

Handcrafted WP is a starter theme built for WordPress developers who are doing more than building blogs. The theme is based on Ian Stewart’s Toolbox Starter theme and Paul Irish & Divya Manian’s HTML5 Boilerplate plus some other awesome features based off our years of experience. This is not a framework, but an almost-naked starter theme that gives you a rock solid starting point for crafting a serious website on the WordPress platform.

mozkart's TAGS related to tag wordpress

bookmarks +   buddypress +   business model +   cms +   contact-form +   css +   design web +   drupal +   e-commerce +   facebook +   fonts +   forum +   google +   graphisme +   html 5 +   icons +   international +   iphone +   iphoto +   itouch +   java +   lightbox +   mac +   magazines +   magento +   Mailchimp +   media +   mobile +   mode +   moteur +   moteurs +   outil web +   ovh +   photo +   photoblog +   php +   ping +   pixelpost +   poedit +   post format +   prestashop +   rss +   scripts +   seo +   slideshow +   slideshowpro +   textures +   thèmes wordpress +   traduction +   tumblr +   twitter +   web apps +   wiki +   wpmu +   yapb +