How can I secure a WordPress blog using OpenID from a single provider?

We’re about to launch an internal blog for the company I work at. Much of the blog will be available to the public, but certain posts will be for employees only. Our intranet/extranet has an OpenID endpoint which we would like to use to secure the private blog posts. There are many benefits to this – not least that people won’t have to sign in with yet another username and password. Additionally, when someone new to the blog signs in with their OpenID, we don’t want to have to require them…

Old blog/ and blog/feed/ URLs not working after moving blog to top-level via .htaccess

For a long time I served my blog from http://www.murrayc.com/blog/, with the wordpress installation in /home/murrayc/murrayc.com/blog/. Now I’ve moved it to http://www.murrayc.com/, without moving the wordpress installation on the filesystem. I did that by: Changing the « Site Address (URL) », in Settings->General, to http://www.murrayc.com. I kept the « WordPress Address (URL) » as http://www.murrayc.com/blog Adding a RedirectRule in my top-level .htaccess at /home/murrayc/murrayc.com/, so that, for instance, permalink/something could be used instead of blog/permalink/something. The older blog/permalinks still seem to work too. However, some old links are not working. http://www.murrayc.com/blog/ takes you to…

Insert link to my thumbnail images

I am try to insert link to my thumbnail images, the link is hyperlink with post. When i put this code inside the loop then instead of showing the first image, first show the second image (template_url) <a href= »<?php the_permalink() ?> » class= »alignnone » title= »<?php the_title(); ?> »> <?php if (has_post_thumbnail()) : ?> <a href= »<?php the_permalink(); ?> » title= »<?php the_title();?> »><?php the_post_thumbnail(); ?></a> <?php else : ?> <img src= »<?php bloginfo(‘template_url’); ?>/images/noimage.jpg » width= »213″ height= »187″ alt= » »/> <?php endif; ?> </a> The code of the tempate : <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div <?php…

Change taxonomy slug in database

I am using Events Calendar Pro and due to a bug multiple Venue taxonomies were created. For example, I have museum, museum-2, etc. I would like to delete the duplicates but assign the event associated with the duplicate venue to the ‘main’ venue. Is there a find/replace I can use that would do this for me? Other suggestions are welcome. Thank you. Source: https://wordpress.stackexchange.com/feeds

Web Design Weekly #74

Headlines Front-End Performance for Web Designers / Developers It’s hard, if not impossible, to deny that performance is by far one of the most critical aspects of any decent web project, be it a small portfolio site, a mobile-first web app, right through to a full-scale e-commerce project. (csswizardry.com) Remote Realtime Pair Programming with CodePen PRO Pasting code back and forth in chat is so 2012. If you need to work out a HTML, CSS or JavaScript problem with a colleague, you should be able to simultaneously code in a…

Insert wp gallery shortcode into custom textarea

Is there a way to insert wp gallery shortcode into custom metabox textarea ? I would like to have something like this: New metabox in post/page with textarea and below textarea there are a button to open wp browse media gallery lightbox. then when we have done to select few images as gallery, click the « insert gallery » button will insert the shortcode to the textarea custom field. is it possible ? Thanks ====== Update: ====== I was able to show media library, now I don’t have idea how to insert…

list category posts under its item in menu

When adding category to Menu, I need it to list all the item that belong to that category in separate UL automatically. like this http://i.stack.imgur.com/ulOOS.jpg Of course I can do that manually, but I’m look for a way to add a filter, maybe, to the wp page menu function, but Im not sure how its can be done. I’m using thematic child theme Thank you. Source: https://wordpress.stackexchange.com/feeds

Different logo on homepage

I have uploaded a file as my main logo within the theme settings but would like a different logo on the main page. The theme I am using has a custom css option within the theme settings, can I use custom css to only change it on the front page and not the rest of the site? Theme: http://demo.ghostpool.com/?theme=bounce-bp Source: https://wordpress.stackexchange.com/feeds

Deploy Sites via GitHub

Super simple way to develop locally and then deploy sites via GitHub. This screencast was inspired by Mark Otto’s great post about this workflow. Implementing this workflow takes next to no time, is very easy to upkeep and is also secure for your files thanks to GitHub. Running time: 9:14 Commands to Clone and Maintain Once you have committed your code to GitHub you can follow these steps to quickly deploy. $ ssh username@website.com Once connected, navigate to your domain and clone the repository in the desired location. $ git…

Front-End Performance for Web Designers / Developers

http://csswizardry.com/2013/01/front-end-performance-for-web-designers-and-front-end-developers/ Harry Roberts: It’s hard, if not impossible, to deny that performance is by far one of the most critical aspects of any decent web project, be it a small portfolio site, a mobile-first web app, right through to a full-scale ecommerce project. Studies, articles and personal experience all tell us that fast is best. Absolutely cracking article discussing the in’s and out’s about performance. I feel it’s going to be a very talked about topic in 2013. Go read it! Source: web design weekly