SELECT DISTINCT ID, post_title, post_name, guid, post_date, post_content FROM wp_posts AS p INNER JOIN wp_term_relationships AS tr ON ( p.ID = tr.object_id ) INNER JOIN wp_term_taxonomy AS tt ON ( tr.term_taxonomy_id = tt.term_taxonomy_id AND taxonomy = 'category' AND tt.term_id IN ( 16 ) ) ORDER BY id DESC
As of wordpress 3.8 it’s really simple to add Custom Icons to WordPress Admin. Use Dashicons!
Dashicons is the official icon font of the WordPress admin as of 3.8.
In your custom post type initialization add the “menu_icon” option.
$args = array(
‘menu_icon’ => ‘dashicons-video-alt3’,
There’s a great selection of icons you can use.
Really nice piece on the history of WordPress
WordPress is the most popular content management system on the planet. With over 22% of websites run on this platform, we thought we would look at the history of it, how it transformed from a simple blogging system into its current form, how its community was born, and the ecosystem around WordPress.
The platform is changing how websites from all around the world work, with more power and performance than traditional websites or most other CMS systems. Because of the WYSIWYG (what you see is what you get) ability to change parts of your site, more and more people are becoming bloggers, webmasters, and internet marketers than ever before.
<?php $thumb_ID = get_post_thumbnail_id( $post->ID ); if ( $images = get_children(array( 'post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image', 'exclude' => $thumb_ID, ))) : ?> <ul> <?php foreach( $images as $image ) : ?> <li><?php echo wp_get_attachment_link($image->ID, 'thumbnail-latest'); ?></li> <?php endforeach; ?> </ul> <?php else: // No images ?> <!-- This post has no attached images --> <?php endif; ?>
When displaying a post I don’t want to display the featured image inside the post. Here’s a WordPress Query to do just that:
I tried installing Instapress into a new wordpress site with a fresh download and I got the following error when I try to activate the plugin:
Warning: require_once(Instagram_XAuth.php) [function.require-once]: failed to open stream: No such file or directory in yourpath/wp-content/plugins/instapress/instagram.php on line 46 Fatal error: require_once() [function.require]: Failed opening required 'Instagram_XAuth.php' (include_path='.: yourpath/wp-content/plugins/instapress/instagram-php-api/:yourpath/wp-content/plugins/instapress/classes/:yourpath/wp-content/plugins/instapress/PowerHour_Geocoder/') in /home/devrep/public_html/site2/wp-content/plugins/instapress/instagram.php on line 46
I looked at an old installation and realized the plugin was missing directories and files. Here’s an archive until they get it fixed.
Instapress is an AWESOME plugin!
BruteProtect is a cloud-powered Brute Force attack prevention plugin. We leverage the millions of WordPress sites to identify and block malicious IPs.
BruteProtect tracks failed login attempts across all installed users of the plugin. If any single IP has too many failed attempts in a short period of time, they are blocked from logging in to any site with this plugin installed. Once the plugin is installed, you’ll need to get a free BruteProtect API key, which you can do directly from your WordPress dashboard.
The plugin allows you to protect yourself against traditional brute force attacks AND distributed brute force attacks that use many servers and many IPs and even supports Multisite Networks.
via About | BruteProtect.
My name is Mark Maunder and I’m the creator of Wordfence and the CEO of Feedjit Inc. which is our parent company.
On August 1st, 2011 my personal blog was hacked. Up until that point I had been running a company that provides real-time analytics to publishers called Feedjit. I dropped everything and reverse engineered the hack and discovered the hackers had gained access to my site through a serious weakness in a WordPress script called TimThumb.
I fixed the weakness and donated my code back to the TimThumb project. Then I dropped everything and started to write a WordPress plugin that would make sure no other WordPress publishers feel that same sinking feeling I felt when I discovered I’d been hacked. That turned into an 8 month project which was far larger and more comprehensive in scope than I could have imagined and culminated in the launch of Wordfence, a free and open source security plugin for WordPress.
Wordfence is now a major part of my business Feedjit Inc. and is fully backed by our investors, data center and our great team.
I hope you enjoy Wordfence as much as we enjoy working on it.
~Mark Maunder – Wordfence Creator and Feedjit Inc. CEO.
To extend the functionality of WordPress most people have only heard of the use of plugins. Not many people have heard of the term Dropins.
WordPress has it’s core functionality which can be added to by the use of plugins which take advantage of multiple WordPress hooks and actions, but it also allows you to replace functionality with the use of Dropin files.
Unlike a plugin the Dropin file will not need to be activated and will become activate when it is placed in the wp-content folder. This folder will by default be at the root of your WordPress install, but can be defined by changing the constant variable WP_CONTENT_DIR.
I’ve been working with WordPress since the dawn of time, and even though I peek at the source code regularly, I still discover new tips and tricks. I’ve compiled my own list of 21 techniques that are handy, clever, fun or best practices rarely followed. I hope everyone finds something new in the list!
free up to 10 users.
25 chats / month
free up to 25 users
looks to be free
free for beta testing
free up to 50 users. looks pretty good.
remember to add these services…
http://rpc.pingomatic.com http://rpc.twingly.com http://api.feedster.com/ping http://api.moreover.com/RPC2 http://api.moreover.com/ping http://www.blogdigger.com/RPC2 http://www.blogshares.com/rpc.php http://www.blogsnow.com/ping http://www.blogstreet.com/xrbin/xmlrpc.cgi http://bulkfeeds.net/rpc http://www.newsisfree.com/xmlrpctest.php http://ping.blo.gs/ http://ping.feedburner.com http://ping.syndic8.com/xmlrpc.php http://ping.weblogalot.com/rpc.php http://rpc.blogrolling.com/pinger/ http://rpc.technorati.com/rpc/ping http://rpc.weblogs.com/RPC2 http://www.feedsubmitter.com http://blo.gs/ping.php http://www.pingerati.net http://www.pingmyblog.com http://geourl.org/ping http://ipings.com http://www.weblogalot.com/ping
WordPress won’t let you click the Add Media button and you’re using Super Skeleton Theme…
In your console, you’re getting the error:
Uncaught Error: Syntax error, unrecognized expression: .select-wrapper.
Here’s the *simple* solution:
“Add Media button not working in 3.5 update… (WordPress 3.5 Issues)”
The 2.0.6 version of each theme is now available and patches this issue up! Just download it from ThemeForest (at your Downloads page), then deactivate your old version and install/activate the newest one.
1. Manually add the OptionTree plugin (Plugins > Add New > Search for “OptionTree”) – this will automatically update the theme options plugin to the latest version in the case that the theme-update doesn’t do it automatically.
2. Update all of your other plugins. It’s possible that there’s another plugin that you are using that’s causing the issue.
3. Turn off any page caches that you might have running – they might hide any fixes that the above steps perform as it’ll save the broken version of the page. As usual, if this doesn’t fix the issue, deactivate your other plugins to determine if one of them might be causing the conflict with the new WP 3.5 dashboard scripts.
You might run into a number of other issues when upgrading to WP 3.5 that are unrelated to your theme; View the full list of 3.5 troubleshooting tips and the list of known incompatible plugins here: http://wordpress.org/support/topic/troubleshooting-wordpress-35-master-list Happy Updating!
WordPress Brute Force Attack!!!!!!!!!!!!!!
In an attempt to find a place between rolling our own CMS and using wordpress, we’re looking for a simple and easy to use CMS system. I’ve been happy developing in CodeIgniter for our new http://JoinARace.com project. The development is quite fast after you wrap your head around the structure of CodeIgniters MVC framework. Much easier than WebObjects Java development I did for 10+ years.
Here’s some contenders for a FREE, simple and easy to use CMS system built on the CodeIgniter PHP framework. I’ll write a follow-up after I analyze them.
An easy, flexible, empowering Content Management System for rapid development that transforms your CodeIgniter projects into client manageable brilliance.
ionize, the most professional & user friendly CMS ever made
PyroCMS is an awesome, open-source CMS!
PyroCMS is used by individuals, small & medium-sized businesses, and large organizations worldwide to easily create & build a variety of websites & web-enabled applications.
With an ever growing community and a large selection of modules, themes and addons PyroCMS makes it easier than ever to build your website!
Under Screen Options you can add “Link Target”, “CSS Classes”, “Link Relationship XFN” and “Description”
Finally found a WordPress plugin that allows me to Unattach and Re-Attach images and documents to posts and pages. Why is this not built into WordPress by now?