background preloader

25+ Extremely Useful Tricks for the WordPress Functions File

25+ Extremely Useful Tricks for the WordPress Functions File

How Do I ... | FeedWordPress Do you have a question about using FeedWordPress? If so, the information on how to do what you are trying to do may be available from this page. If have a question that isn’t answered on this page, you can edit this page using the Wiki tools to add your question to the list, and I will try to reply as best I can. Or you can contact me by e-mail, with as detailed a description as possible of what you are trying to do within FeedWordPress, what you expect to happen, and what problems, if any, you’re running into. Do you have a question that isn’t answered on this page? Questions that still need answers… This page is a Wiki! Introducing Rich Snippets Webmaster Level: All As a webmaster, you have a unique understanding of your web pages and the content they represent. Google helps users find your page by showing them a small sample of that content -- the "snippet." We use a variety of techniques to create these snippets and give users relevant information about what they'll find when they click through to visit your site. Rich Snippets give users convenient summary information about their search results at a glance. To display Rich Snippets, Google looks for markup formats (microformats and RDFa) that you can easily add to your own web pages. and now with microformats markup: or alternatively, use RDFa markup. By incorporating standard annotations in your pages, you not only make your structured data available for Google's search results, but also for any service or tool that supports the same standard. Now, time for some Q&A with the team: If I mark up my pages, does that guarantee I'll get Rich Snippets? No. What's next?

Showing menu items to logged in users only | dav3 on wordpress UPDATE: I have now determined how to extend this to show menu items to ONLY guests. Something I’ve been looking at for a while. I have been searching for a simple way to show particular menu items to only logged in users. I know there are ways of achieving this in php by hardcoding your menu structure within the template for your site, but this involves delving into the source code (which I don’t like doing), and then makes the menu less dynamic to changes. That is, if you later add a page, you have to re-edit the code to have the menu updated… Until now! I found this the other day (credit reference below) and with a little CSS injection and associating a class with the menu item, we can have the same end-user effect. Firstly you need to determine the name of the ID associated with your menu. Once you have that, now you need to add some code to your style sheet: It’s really that simple! If only I could make this work so that a particular menu item was ONLY visible to a guest!

Bloggiesta is Coming Up FAST! Mark Your Calendars for June 11-13th. | Maw Books My apologies for what is a very short notice announcement. I lay blame on my recent camping trip, Book Expo America and Book Blogger Convention in regards to not getting the date publicized earlier. Totally my fault. The third (can it really be the third time already?!) The timing of the January Bloggiesta was very well received. Some of you may be asking what is Bloggiesta? What to do during the Bloggiesta? How to play: The date is Friday, June 11th, Saturday the 12th and Sunday the 13th. *Sign up (Name and Blog url):* Who can play? Anybody! Will there be prizes? Yes! What can you do to help? Spread the word!

A Complete To-Do List & Plugins for WordPress Site Maintenance | If you own a WordPress site, it will probably be operational 24/7. As time passes, the number of different site operations will cause your WordPress site to slow down. Just like your computer or house, your WordPress site requires scheduled maintenance checks in order to keep it running in its prime condition. Image credit: batega When it comes to WordPress site maintenance, it can be as easy as doing your housekeeping tasks through the WordPress Admin, to the extent of technical tweaks at the back of your WordPress site. Take Down Your WordPress Site For Maintenance Some of the maintenance tasks do not require you to bring down your WordPress site entirely. Here are some ways you can use to temporarily take down your WordPress site for maintenance. .htaccess Replace /maintenance.html with whatever the URL of your maintenance page is and put in your own IP address on line 3. Source from: CatsWhoCode WordPress Maintenance Mode Without a Plugin Maintenance Mode Plugin Standard Maintenance Backup

22 Latest Exceptional WordPress Hacks | Tutorials WordPress needs no introduction among designers and writers. It’s usually known as a synonym for blogging. Now days every other WordPress blogs look more or less similar, to stand uniquely out from the rest, you need to tweak it a little bit by using quality hacks. As you all known that the new version v2.8 is arrived and most of you already updated your WordPress to v2.8. Of Course, WordPress Codex is always the best place to learn about WordPress and its tweaks. One of the greatest things about blogging is the immediate feedback a blogger can get from his or her readers. You may be interested in the following related articles as well. Feel free to join us and you are always welcome to share your thoughts that our readers may find helpful. Don’t forget to and follow us on Twitter — for recent updates. General WordPress Related Hacks 01. WordPress, by default, comes uncompressed and sends the uncompressed HTML to the visitor’s browser. You’re done! 02. it’s all done!! Pages Related Hacks 03.

Integrating Feedburner and Google Analytics In mid-November, Google Analytics and Feedburner announced a very interesting integration. While this is excellent news for Google Analytics and Feedburner users, it must be dealt properly when it comes to SEO, especially on websites that are heavily based on RSS feeds. Google Analytics users rejoice! This integration is very interesting in that it allows a much deeper understanding of the interaction of users coming from feeds and the profitability of this segment on websites. As can be seen in the screenshot below (from Online Behavior website), we are able to use five UTM parameters as used in the URL builder. utm_source: Identifies the referrer (e.g. google, searchengineland.com, newsletter)utm_medium:: Identifies the marketing medium (e.g. organic, CPC, banner, email)utm_campaign: Identifies the campaign that is being run in the referrerutm_content: Used to differentiate ads or links inside a campaignutm_term: Used to differentiate the keywords clicked

Add A CSS Class to WordPress Insert/Edit Link Dropdown | Online Marketing | Kona HI, Loveland CO WordPress Situation Want to have a way to format a link in the WordPress content editor box using only the “Visual” tab (ie not having to go to the “HTML” tab and manually type in a class for the link. Solution Add a CSS class to the insert/edit link dropdown menu The Reason Although we (developers and designers) tell our clients that Content Management Systems like WordPress are “really easy to use, you’ll have no problem at all,” we know that pages still tend to get broken…often. So, I’m always looking for better ways to “foolproof” and help my clients add and edit their content using WordPress. When adding link in WordPress’s content editor recently I realized that to format the link the way I wanted (and the way the designer designed it), I was going to have to view the HTML tab and assign the link a CSS class. How To I found some simple, effective information on a few options on the WordPress Support site here (especially kchevalier’s response). That’s it.

Grasshopper Pie Recipe Method 1 Preheat oven to 425°F. In a bowl, mix crushed oreo cookie halves and butter. Pat into bottom and sides of 10 inch pie dish. 2 In saucepan, melt marshmallows in milk over medium heat. Serve with a dollop of whipped cream. 47 CSS Tips & Tricks To Take Your Site To The Next Level | CSS CSS is a wonderful language for presenting web pages. It’s not too difficult to learn, though like most things, it does have a learning curve. Where many people seem to get tripped up is in specific solutions to specific problems. Fortunately there’s a good chance that someone before you has already had the same problem and even better has found a solution. Here are 47 of those solutions. 47 CSS Tips, Tricks, and Techniques to add to your CSS toolbox. For those, who don’t know what is CSS? Please follow the link below for detail introduction. CSS always plays a vital role in web design and it always gives you opportunity to make your website user friendly. You may be interested in the following related articles as well. Feel free to join us and you are always welcome to share your thoughts that our readers may find helpful. Don’t forget to and follow us on Twitter — for recent updates. CSS Tips, Tricks, and Techniques for Your Website Most of these tips what follows will work cross-browser.

IntenseDebate comments enhance and encourage conversation on you Stop Loading Stylesheets And Javascript In Wordpress In a previous post I wrote about how you can add stylesheets and Javascript files to WordPress correctly by using the wp_enqueue_style() function. By using this function you can make sure that you are not adding the same stylesheet twice, this also allows you to prioritise the order of adding the style sheets. In this article we are going to look at the opposite of this function the wp_dequeue_style() function. As you can guess this function will remove the stylesheets from the enqueue. There is also an opposite function for adding Javascript files to the page with wp_deregister_script() function. Remove Stylesheets That Has Been Enqueued Wordpress will create a queue of stylesheets to load and will import these when it runs the wp_head function. You can open the plugin and change the code to remove the line where it adds the stylesheet. The other solution is to use the wp_dequeue_style() function in your theme functions.php to remove the stylesheet from the enqueue. Conclusion

Live WWDC 2010 keynote coverage - gdgt live is almost over. But there are sure to be plenty of untold details about the next iPhone, and we wouldn’t be surprised if Steve’s also got another trick or two up his unwavering black sleeve. This is the place to be for live coverage! 6:55PM - Huge thanks to the always awesome team at the Rackspace Cloud for powering today’s live coverage! If you haven’t already registered as gdgt user, head on over and add the iPhone 4 to your list! Thanks for reading, everybody! 6:55PM - “Thank you very much for coming. 6:54PM - “All the rest of the Apple family that supports us in a thousand ways, I’m really proud of all you guys. 6:54PM - “Jony Ive and the design team… the A4 team… Scott Forstall and our remarkable iOS software team… all of this wouldn’t make any difference if we couldn’t build a ton of them. 6:53PM - “I am so proud of the team that created this product. 6:52PM - “It’s the hardware and software working together. 6:44PM - “A real nice dock.” $29.

ThemeForest You’ve heard this a thousand times: WordPress is the most popular content management system (aka CMS) in the world. W3Techs reports that 59% of sites using CMS are built on WordPress. It’s so successful that it’s almost become a synonym for CMS! So what makes WordPress the preferred choice for millions of developers, designers, and anyone who needs a website really? First of all, WordPress is free and open source. In a nutshell, it’s an extremely versatile system that enables you to create pretty much any sort of website you can think of. Yes, any sort. Another great thing about it? And WordPress themes is what this page is about! If you need to build a website but don’t have the time, or the skills, to design it yourself—you’re in the right place. Top quality.

Related: