Forum Replies Created
-
AuthorPosts
-
Boca.desMember
I found this piece of code
//* prevents excerpts from stripping html tags add_filter('get_the_content_limit_allowedtags', 'news_custom_allowedtags'); function news_custom_allowedtags() { return '<script>,<style>,<b>,<br>,<em>,<h1>,<h2>,<h3>,<h4>,<h5>,<h6>,<class>'; }
But what I am trying to do is add classes to certain parts of the content displayed - The posts are being generated from filling in a form (gravity forms)... So it pulls a title, address, age etc - I want to style these individually? Do I need to add another template for this?
Boca.desMemberWill do thanks, thanks for the time and help.
Boca.desMemberBoth of them share the .entry-title tag, so they are both disappearing - the only difference is the page title is not a link, and the post titles are. I've tried separating them but no joy, I may just have to keep the page title displayed - and add a more descriptive title in the Custom document title
.page-template-page_blog-php .entry-title { display: none; }' and
.page-template-page_blog-php .entry-title a {
display: block;
}'Boca.desMemberI've disabled the coming soon plugin for you to see ..
Boca.desMemberI'm using this for the pages that are not category ones. This plugin removes the post titles as well which I want to keep
Boca.desMemberI have over 200 category pages - its a kind of listings site. I can't name each individual page id?
Boca.desMemberSorry, my apologies - didn't realise till I sent it.
Original code:
add_action ('get_header', 'remove_page_titles_genesis'); /** * @author Brad Dalton * @example http://wpsites.net/ */ function remove_page_titles_genesis() { if ( is_page() || $post->post_parent ) { remove_action('genesis_entry_header', 'genesis_do_post_title'); }}
Source of code: http://wpsites.net/best-plugins/hide-page-titles-genesis/
I can't send link to page as its not live yet, its unfinished.
I can't seem to hide the page titles but show post titles after reading the tutorial? - It just hides them all?
Thanks again
Ryan
RyanBoca.desMemberGreat, Thanks Brad,
I was just asking incase their was a built in option in the Genesis Framework. -
AuthorPosts