Archive | WordPress plugins RSS feed for this section

WordPress Plugin for Metaweb

16 Jul

For example, if you were designing a page about Will Smith, a single query to Metaweb could get you rich metadata about him, an image, updates from his Facebook page, recent New York Times headlines

The Metaweb WordPress plugin

  • Keeps visitors engaged with rich content from dozens of sources
  • Quick and easy to use – add TopicBlocks with the click of a button

http://www.metaweb.com/wordpress

The Metaweb plugin is a WordPress plugin that allows you to easily add Metaweb TopicBlocks to your blog posts directly from within WordPress. You can quickly add TopicBlocks to individual blog posts or have TopicBlocks automatically inserted whenever you use certain tags.

If you’d like to learn more about TopicBlocks, jump to the Metaweb TopicBlocks FAQ

What is Metaweb?

Metaweb is a service that makes it dramatically easier for bloggers and site owners to aggregate content about a specific topic – like Tom Cruise, The Da Vinci Code, or San Francisco – and to surface related content in new and powerful ways.

Metaweb is organized around topics, or entities, which are unique, unambiguous concepts with their own URLs. In general, they are much more precise than keywords, and they carry a lot more information. Right now we catalog about 12M entities, in categories spanning movies, books, TV shows, celebrities, locations, companies, and more.

For each of these entities we collect rich metadata and links to quality content feeds around the web. And then we make that all available to you via our blogger tools and developer APIs.

This makes it much simpler for you to develop intelligent, content-rich sites and to keep your readers more engaged. For example, if you were designing a page about Will Smith, a single query to Metaweb could get you rich metadata about him, an image, updates from his Facebook page, recent New York Times headlines about him, a gallery of his movies from Netflix, links to his pages on Wikipedia and IMDb, and a list of related topics your users might want to explore.

http://www.metaweb.com/faq

Share:
  • Facebook
  • Twitter
  • Tumblr
  • LinkedIn
  • MySpace
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • email
  • Posterous

WordPress Tutorial – WP e-Commerce: Setting Shipping Rates

6 Nov

Setting a shipping rate that correctly displays in both the shopping cart AND the sidebar Widget!

Step 1:
WP e-Commerce Admin > Settings > Shipping:

  • In the General Settings section, set Use Shipping to Yes and type ZIP code in the Base Zipcode/Postcode box.
  • Then tick the check-box next to Flat Rate in the Shipping Modules section.
  • Next, click the invisible “edit” link that’s located to the right of Flat Rate and make sure both of the Base Local boxes are empty.

Step 2:
WP e-Commerce Admin > Settings > Products:

  • In the Edit Product column, in the Shipping Details section, type the shipping price in the Flat Rate Settings/Local Shipping Fee box.
Share:
  • Facebook
  • Twitter
  • Tumblr
  • LinkedIn
  • MySpace
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • email
  • Posterous

WordPress Tutorial – WP e-Commerce 3.7.5 RC3: Change “P&P” text to “S&H” for Shipping & Handling

20 Oct

WP e-Commerce shopping cart (v 3.7.5 RC3) for WordPress: Change “P&P” text to “S&H” for shipping & handling on product page.

- For WP e-Commerce shopping cart, version 3.7.5 RC3 (released Oct 20, 2009)
- File located at: wp-e-commerce/languages/EN_en.php
- Line 757:
Change: define(’TXT_WPSC_PNP’, ‘P&P’);
To: define(’TXT_WPSC_PNP’, ‘S&H’);

Share:
  • Facebook
  • Twitter
  • Tumblr
  • LinkedIn
  • MySpace
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • email
  • Posterous

WordPress Tutorial – WP e-Commerce 3.7.4: Change “P&P” text to “S&H” for Shipping & Handling

19 Oct

WP e-Commerce shopping cart (v3.7.4) for WordPress: Change “P&P” text to “S&H” for shipping & handling on product page.

- For WP e-Commerce shopping cart, version 3.7.4
- File located at: wp-e-commerce/languages/EN_en.php
- Line 749:
Change: define(‘TXT_WPSC_PNP’, ‘P&P’);
To: define(‘TXT_WPSC_PNP’, ‘S&H’);

Share:
  • Facebook
  • Twitter
  • Tumblr
  • LinkedIn
  • MySpace
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • email
  • Posterous

WordPress Plugin – Multiple Columns In A Single WordPress Post

25 May

UPDATE (Oct 24, 2009): This plugin doesn’t quite work! Problem: the below “fix for mis-alignment across top of columns” causes all of the site’s soft returns (non-paragraph line breaks) to be undone. I have discontinued using this plugin and undone the change to line 135 in includes/formatting.php.

WP Post Columns Plugin, by Sam Burdge at http://www.samburdge.co.uk/wordpress/wp-post-columns-plugin-2

Testing to see if this plugin works and how it looks before deploying to a client’s WordPress site.

UPDATE: FIX for mis-alignment across top of columns (NOTE: this fix ended up breaking all the soft returns on the site. I have disabled it.)

  • Open includes/formatting.php
  • Line 135 (as of WordPress 2.8.5)
  • Change: function wpautop($pee, $br = 1) TO function wpautop($pee, $br = 0)

UPDATE: FIX for [ end_columns ] text showing up in post

  • Add either a space between [ / column ] & [ end_columns ] OR move [ end_columns ] to the next line. NOTE: do not add spaces to the inside of the shortcodes themselves. I have done this for display purposes only.
Share:
  • Facebook
  • Twitter
  • Tumblr
  • LinkedIn
  • MySpace
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • email
  • Posterous

Integrate WordPress Blog into Magento Ecommerce using Lazzymonks WordPress Integration 2.61 Extension

22 Oct

Integrate WordPress Blog into Magento Ecommerce Shopping Cart using Lazzymonks WordPress Integration 2.61 Extension
Successfully installed Oct 21, 2008
Application versions: Magento 1.1.6 & WordPress 2.6.2
Hosted on 1&1 Internet

This extension adds the ability to integrate WordPress blog into Magento.
It has adjustable page layout from with in the WordPress admin menu.
WordPress menu can be set to show in the left column, right column, both or neither.
A link in the Magento footer can be enabled or disabled.
And the page title can also be set.
When everything is setup, separate WordPress login and Magento login is still required to operate each application.

1. Install working version of Magento Ecommerce first

2. Upload WordPress directory into a Magento sub-directory called “wordpress” (magento/wordpress)

3. Add Magento’s DB info to WordPress’s wp-config.php file (this is the same MySQL database that all the Magento files are already in – you’ll be mixing the WordPress files in with the Magento files in the pre-existing Magento database)

4. Acquire the Lazzymonks WordPress Integration 2.61 Extension “key” from Magento Connect. The “key” is currently called: magento-community/Mage_Blog

5. In Magento’s admin, go to the Magento Connect Manager (System > Magento Connect > Magento Connect Manager), login in again, click on the Settings tab and change the Preferred State to “beta”

6. Click on the Extensions tab and paste “magento-community/Mage_Blog” (without the quotes) into the “Paste extension key to install:” box and click Install. (The new WordPress integration extension should show up at the bottom of the page)

7. Click on the Settings tab again and change the Preferred State back to “stable”

8. Go back to Lazzymonks WordPress Integration 2.61 Extension page and follow the instructions starting about half-way down the page (or see #9 below, which is taken from Lazzymonks page)

9. Two of the following files and the theme folder can be found in the Magento base directory, in a folder called “wordpress_module_files” (this folder was installed in Magento’s base directory during the WP Integration extension installation in the Magento Connect Manager). Copies of these files, with “some” of the changes already applied, are included in the extension files (which are in the “wordpress_module_files” folder). These files, however, should be used with caution – double-check all of these files in the “wordpress_module_files” folder against what Lazzymonk recommends on his Magento extension Web page (http://www.magentocommerce.com/extension/296/lazzymonks-wordpress-integration)

9.1. Find index.php in the root of your Magento installation and find the following line of code:

require_once $mageFilename;

And add the following after it:

define(‘WP_USE_THEMES’, true);
require(‘./wordpress/wp-blog-header.php’);

(You will need to be sure that the second line points to the location of your WordPress installation, as it is, it assumes WordPress is installed in the Magento directory.)

9.2. In wordpress/wp-settings.php find the following lines of code and remove the & symbol

Around line 399 (line 472 in WP v2.6.2):

$wp_the_query =& new WP_Query();

Around line 414 (line 487 in WP v2.6.2):

$wp_rewrite =& new WP_Rewrite();

Around line 421 (line 494 in WP v2.6.2):

$wp =& new WP();

Around line 456 (line 530 in WP v2.6.2):

$wp_locale =& new WP_Locale();

9.3 Also in wordpress/wp-settings.php remove or comment out the following lines, around line 386 (line 459 in WP v2.6.2):

// Escape with wpdb.
$_GET = add_magic_quotes($_GET );
$_POST = add_magic_quotes($_POST );
$_COOKIE = add_magic_quotes($_COOKIE);
$_SERVER = add_magic_quotes($_SERVER);

9.4. In wordpress/wp-includes/l10n.php at line 116

Change:

function __($text, $domain = ‘default’) {
return translate($text, $domain);
}

To:

if (!function_exists(‘__’)) {
function __($text, $domain = ‘default’) {
return translate($text, $domain);
}
}

9.5. Now, on to the WordPress part: Copy the “magento” theme in the wordpress_module_files/wordpress-theme folder into the wordpress/wp-content/themes folder.

9.6. Log into the admin panel of WordPress and click the “settings” link. Then, change the “Blog address (URL)” to: http://yoursite.com/magento/blog (or, change it to fit your site), but leave the “blog” directory part in the URL. Save settings. Then, click the permalinks tab and ensure that permalinks are set to default. Finally, click on the “design” link and select the WordPress Magento theme installed in step 9.5.

9.7. Now go to http://yoursite.com/magento/blog to access the blog. Mine is actually located at http://www.aqwearium.com/blog, without the extra magento directory in the URL

10. Configuring the WP Integration in Magento’s back-end admin: System > Configuration > Blog (under the General tab in the left-hand menu)

Share:
  • Facebook
  • Twitter
  • Tumblr
  • LinkedIn
  • MySpace
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • email
  • Posterous