Forum Replies Created
-
AuthorPosts
-
alistairmckenzieMember
Hi thanks for the reply but that is just for the images and not the text.
Content Settings
Do not link Slider image to Post/Page.regards Alistair
alistairmckenzieMemberOK got it working to a point I have used the:
add_filter(‘excerpt_length’, ‘specific_category_excerpt_length’);
function specific_category_excerpt_length($length) {
if(in_category(‘web-design’) ) {
return 20;
} else {
return 500;
}
}and added it twice once for my custom post type and once for the blog. I have also added the:
add_filter( ‘get_the_content_limit_allowedtags’, ‘get_the_content_limit_custom_allowedtags’ );
/**
* @author Brad Dalton
* @example http://wp.me/p1lTu0-a5w
*/
function get_the_content_limit_custom_allowedtags() {
// Add custom tags to this string
return ‘<script>,<style>,<br>,,<i>,<h1>,<h2>,<h3>,<h4>’;
}
too the bottom of my functions file but i have two problems one the styling hasnt returned and the read more link has changed to [...] which dosent do anything any ideas? you can have a look at the below linkshttp://imageworksltd.com/clients/edinburgh/meet-your-team/
http://imageworksltd.com/clients/edinburgh/latest-informative-blog/
Again thanks for the Help much appreciated Alistair
alistairmckenzieMemberOK Cheers will do
alistairmckenzieMemberThis reply has been marked as private.alistairmckenzieMemberThis reply has been marked as private.alistairmckenzieMemberOK will do thanks
alistairmckenzieMemberManaged to sort it but thanks for the replys didnt realise there was a Genesis Responsive Header plugin will have a look at it thanks
alistairmckenzieMemberNo I am working locally
-
AuthorPosts