Advanced Integration – WordPress + YOURLS

I would probably go about this way: The plugin has a function called: wp_ozh_yourls_send_tweet($tweet); as you can see it accepts the tweet message and posts it to twitter, also it has another function called: wp_ozh_yourls_geturl( $post_id ); which accepts a post id and returns a shorturl as string. so after knowing that I would use … Read more

There’s some way to add a wrapper around posted images?

The image_send_to_editor hook passes a whole range of parameters, not just the html. One of them is the size. To get it, hook your filter passing an 8 as the number of supported parameters: add_filter(‘image_send_to_editor’, ‘my_filter_cb’), 10, 8); and modify your function header to grab them all: function my_filter_cb ($html, $id, $caption, $title, $align, $url, … Read more

Styling readme.html in plugin?

It would be better to include your own CSS file that way you can: Use a relative path to your CSS. Avoid problems getting the path right to the wp-admin directory. Not all people put WordPress in the root directory, so your example above would break for them. Possibly redundancy by reusing the CSS in … Read more

How to Make a Custom Grid View

It’s not that difficult at all its simply styling you category loop in to a table something like this: <table> <tr> <th>Photo</th><th>Item Brand, Model</th><th>Description</th><th>PSI</th><th>GPM</th><th>RPM</th><th>HP</th><th>Stock No.</th> </tr> <?php while (have_posts()){ the_post(); ?> <tr> <td> <?php if(has_post_thumbnail()) { the_post_thumbnail(); } else { echo ‘<img src=”‘.get_bloginfo(“template_url”).’/images/img-default.png” />’; } ?> </td> <td> <a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a> </td> … Read more

WordPress Custom Application form

Although a premium plugin, I would like to suggest Gravity Forms (aff link). Due to conditional logic you can easily adapt the form to be(come) an application form instead of the usual contact form.