To achieve this recipe, just paste the following code anywhere in your post.php file and attachments will be displayed.
$args = array(
‘post_type’ => ‘attachment’,
‘numberposts’ => null,
‘post_status’ => null,
‘post_parent’ => $post->ID
);
$attachments = get_posts($args);
if ($attachments) {
foreach ($attachments as $attachment) {
echo apply_filters(’the_title’, $attachment->post_title);
the_attachment_link($attachment->ID, false);
}
}
Category:Wordpress
How to: Show parent page title regardless of what subpage you are on
Let’s start with a nice code for those using WordPress as a CMS: Just paste it anywhere on your theme files and it will display the parent page title.
<?php
if($post->post_parent) {
$parent_title = get_the_title($post->post_parent);
echo $parent_title;
} else {
[...]
WordPress is a popular blogging platform and content management system, but it can also be used for powering e-commerce websites. Although its primary purpose is not e-commerce, there are a number of plugins and themes available that will allow you to use WordPress for your online store (some are free and some are premium).
In this [...]
Pods CMS
Flutter
WP-CMS Post Control
PageMash
Role Scoper
CForms II
Scissors
TinyMCE Advanced
Side Content
Multi-level Navigation
Dashboard Pages
Custom Admin Branding
A good search engine ranking will generates more organic traffic to your site.If you are using Wordpress, don’t worry. Wordpress already did the hard part for you. But, there are some SEO features that aren’t implemented in Wordpress core. You can easily archeive these features by installing plugins.
It is totally up to you that how [...]
If you are using Wordpress as a CMS, then you probably want to present your content with multiple languages. Recently, I came across a Wordpress blog that presents their content with three different languages, so I decided to investigate the methods and plugins to turn Wordpress into a multilingual website, and share my findings with [...]
Bloggers can actually optimize their blogs to consume less server usages and less bandwidth. There are different ways to do the web optimization for Wordpress, for example you can install plugins to monitor, tweak and speed up the loading speed of your Wordpress blog.
Besides installing the plugin, you can tweak your theme and remove the [...]
Free Themes
Irresistable
This theme kind of combines some grunge elements with the popular glowing light effects for a cool final result.
Magazeen
These trendy colors and unique layout make this theme a real attention grabber.
Compositio
Here is another simple personal theme that has lods of creativity to it, with minimal effects.
Vintage
Bold graphics and rich colors make this on of [...]
As an experienced WordPress user, we keep ourselves updated with the development of the core, plugin releases and useful WordPress tips and tricks shared by developers and enthusiasts. In today’s post, we’d like to share with you updated WordPress tips and tricks and plugins that are interesting and useful. Without further ado, here’s another 30+ [...]
WordPress has pretty decent typography features in the core installation. But there are plenty of areas ripe for improvement. That’s where the plugins below come in.
Whether you just want more control over how the basic text on your site shows up or you want to do something a bit more advanced, there’s surely a plugin [...]
In this article we present 100 free high-quality WordPress themes. Together with hundreds of other designs, these themes have been manually selected, installed and tested over the last weeks. They all can be downloaded, customized and used for free in both personal and commercial projects. Links to demo-versions provide a direct preview of a theme.
Please [...]
1 – Autofollow script (PHP)
This code allow you to automatically follow user who have tweeted about a specific term. For example, if you want to follow all users who tweeted about php, simply give it as a value to the $term variable on line 7.
<?php
// Twitter Auto-follow Script by Dave Stevens – http://davestevens.co.uk
$user = [...]
I allways publish wordpress plugins ,Today ,I focus on 12 plugins that is really useful to create a developer blog.I hope you are like.
Preserve Code Formatting
Have you ever tried to display code snippets in WordPress? If your answer was "yes", I’m pretty sure you had trouble to do so, at least during your first tries. [...]
After putting in all of the time, and perhaps money, into your Wordpress website or blog, its now time to secure and protect it from outside enemies and general bad guys: hackers, spammers and all round tossers.
If your WP development knowledge is limited, your best option is to download and install plugins. They are easy [...]
How to disable scripts and styles – In this post, Justin Tadlock goes over how to disable scripts and styles added to your WordPress sites by plugins. This has a number of uses, for example if you don’t want the Contact Form 7 stylesheet to load on other pages besides your “Contact” page.
10 Most Wanted [...]
I recently gave a presentation at WordCamp Montreal on WordPress Security. While doing research for my presentation I came across a bunch of great WordPress Security tips that all WordPress users should use. Surprisingly, a good majority of these tips are not usually followed. Below is a list of the top 5 tips that most [...]
In this article we will share the most wanted category hacks and plugins for WordPress which you can use in your themes. These snippets of codes are a lifesaver in many situations when it comes to modifying a theme.
1. Display Certain Categories in a Menu
In many cases, users only want to display certain categories in [...]









Wordpress comment form is usually the left out portion of most blog designs. Most blog designers do not care to make the comment form unique and stylish but just create it in a hurry. Here are 10 ways with examples to make your blog’s comment form stand out from the crowd.
1. Change the Layout
Most wordpress [...]