tag archives: wordpress

how to find older versions of All in One SEO Pack

[posted: ]  [1 comment]

how to find older versions of All in One SEO Pack All in One SEO Pack is an awesome wordpress plugin. at least, it used to be: ever since version 2.0.1 was released (several months ago), some users have been plagued with home page issues: for example, the plugin would just ignore whatever was entered into the “Home Title” field on its own plugin options page, and instead use the latest post title to populate the <title> tag. similarly, the META keywords and description were also mixed up.

in the plugin support forums, i found several discussions about this problem, which seems to go away once you downgrade to a version lower than 2.0.1. but where can you find an older version archive of All in One SEO Pack? there were no links to be found on the wordpress plugin page or the developer’s plugin page[more...]

[category: computers & technology] [tags: ]

how to embed google+ photospheres in your wordpress blog using shortcodes

[posted: ]  [9 comments]

update: google has published a new, official way to publish photospheres on your website, which still works (in contrast to the below, outdated method).

if you’ve been following the feature additions to android over the past few months, you’ve probably heard of photospheres: they’re google streetview-like interactive 360 degree panoramas that you can easily record with your smartphone running android jellybean 4.2+.
now, google has finally provided us with a way to embed photo spheres from google+ on other websites, including your self-hosted wordpress blog!

stunning views from seegrube, innsbruck

here’s a little function for your wordpress theme’s functions.php, which will enable the shortcodes [photosphere URL] and [ps URL]: [more...]

how to: add individual css classes to sidebar widgets in wordpress using widget logic

[posted: ]  [0 comments]

how to: add individual css classes to sidebar widgets in wordpress using widget logic there are some wordpress themes which, for some reason, remove the individual widget wrap css-classes, and just add one generic class to all the widgets, e.g.
<div class="widgetwrap"> ... </div>

this is a real pain if you want to change the appearance of just one specific widget in your sidebar.
at the same time, widget logic is (1) a very powerful widget plugin, and (2) known to have incompatibilities with some other widget plugins (or is it the other way round?).

to solve this problem while keeping widget logic, i wrote a little script and thought i’d share.

[more...]

how to: exclude blockquote text from wp word count statistics

[posted: ]  [0 comments]

how to: exclude blockquote text from wp word count statistics

there are many wordpress plugins that count the written words out there, and my plugin of choice is WP Word Count because of its simple, straight-forward overview page, which includes total counts as well as numbers by month and author.
however, it’s not always desirable to include everything in those counts – e.g. if you hire writers and get billed by the word, you may want to exclude blockquotes.

the following little code modification achieves just that: [more...]

[category: computers & technology] [tags: , ]

what to do if wordpress plugin or theme settings are not saved or modifications are ignored

[posted: ]  [0 comments]

in another wordpress blog (version 3.1), we’ve recently had problems with plugins and themes, where new dynamic options of wordpress 3+ (including plugin settings, theme settings and menu settings) would not get updated.
new input or changes in the values on the respective administration page were just ignored, despite the confirmation message on top of the page, saying “changes were saved” etc.

i just found the cause of the problem: [more...]

wp downloadmanager: how to change the default sort order in the admin overview page

[posted: ]  [0 comments]

the problem:
WP DownloadManager, a very handy plugin for wordpress, sorts all downloads by name in ascending order on the admin overview page. i find this impractical, because i mainly open that page to (1) see how my downloads are doing in terms of clicks and (2) edit one of the most recent links.

the solution:
…is quite simple. just open the built-in wordpress plugin editor, choose the correct plugin to edit in the top right dropdown menu (“WP-DownloadManager”), click “choose” (or “wähle” in german), …

open the built-in wordpress plugin editor, choose the correct plugin to edit in the top right dropdown menu ("WP-DownloadManager"), click "choose" (or "wähle" in german),

[more...]

[category: computers & technology] [tags: , , ]

wordpress: how to force a page title using php

[posted: ]  [0 comments]

the problem: i have a special wordpress page (gallery) with custom theme (“page attributes”, “template”) which executes some of it’s own php code and database queries.
depending on the output of the php code, i’d like to add something to the <title> tag of that page, which is automatically created by the wordpress function get_header(). in other words, i’d like to force a custom page title through php.

i found the solution to this problem in the wordpress.org forums, where user nexusmedia had the same goal.
it is a hack, but doesn’t require editing of any wordpress core files. all you need to do concerns your theme’s php files: add one line to header.php, and the rest takes place in your special template (in my case: gallery.php).

header.php:
replace
<title> ... </title>
with the following code:
<title><? global $title; ?><? if ($title): ?><?=$title?> <?php echo " | "; bloginfo('name'); ?> <? else: ?><? wp_title('');?><? endif; ?></title>
 

gallery.php: (or whatever your special theme file is called)
replace
get_header();
with this:
global $title;
$title = 'My Custom Title';
get_header(); ?>

if you’re using the “all in one SEO” plugin, don’t forget to deactivate it on the concerned page(s) and place a checkmark at “Disable on this page/post”.

[category: general] [tags: , ]