Forum Replies Created
-
AuthorPosts
-
paultp
MemberHi,
For anyone else wanting to do this, I achieved it as follows:
1. Install the http://wordpress.org/plugins/page-excerpt/ to give you an excerpt box on pages (like the one on posts). You can then put what you like in the custom excerpt.
2. Install the http://wordpress.org/extend/plugins/genesis-featured-widget-amplified/ plugin and use it to feature your page.
3. Add the following code to your functions.php to get a read more link (change the read more text to whatever you want). Because the read more link in the amplified plugin only shows up if you select "show content limit".
/** add a read more link to an excerpt **/
function custom_excerpt($text) { // custom 'read more' link
if (strpos($text, '[...]')) {
$excerpt = strip_tags(str_replace('[...]', '... <a href="'.get_permalink().'">[Read More...]</a>', $text), "<a>");
} else {
$excerpt = '<p>' . $text . '<br/><a href="'.get_permalink().'">read more...</a></p>';
}
return $excerpt;
}
add_filter('the_excerpt', 'custom_excerpt');Hope that helps
paultp
MemberThat's the third time this week that I've complicated something simple. Senility must be setting in.
Thanks
Paul
paultp
MemberI'm trying out shopping carts at the moment and have looked at most. A couple of general points:
They are all extremely basic in their free versions, if you want to do anything more than just sell a few things expect to pay extra (in some cases a lot extra)
None of them has a decent reputation for support - days to respond is typicalI quite liked Woo and have installed the free version with a free weight based shipping plug-in on a customer site and that suits their basic needs.
For another site I needed a few more complicated shipping options and attempted to buy the table rate shipping extension. As I type Woo's own shopping cart does not work and I've now waited ages for some support on this. They send a support ticket linking to support that you cannot access until you have bought something - Catch 22!
I'm happy to pay a premium for a cart and shipping that works but unfortunately I have yet to find one.
-
AuthorPosts