Add Field To All Pages

If you want to do that yourself, take a look at function add_meta_box (don’t forget the examples). That page has almost everything you need to create a custom meta box for a certain post type. If you want to simplify your work, you might want to use an utility like Meta Box plugin. This plugin … Read more

load src of images that attachs in wordpress’s post

The following line is incorrect as showposts is deprecated. $recent = new WP_Query(“showposts=30”); Instead use, $recent = new WP_Query(‘posts_per_page=30’); Following that, Does the thumbnail size of 80×80 exist? array(80,80) If not try any of, $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), small ); $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), medium ); $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), large ); Remember each of … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)