StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-24-2012, 03:09 AM
dwmytai dwmytai is offline
Registered User
Pro Plus Member
 
Join Date: Aug 2011
Posts: 6
Default Removing Titles from Custom Post Type

I added a custom post-type for specific certificates on my site. Link here: dw-testing/wordpress

I've removed post titles from showing up on all the pages, but need them to also be removed for these Certificate pages.

I tried:
PHP Code:
function child_remove_certificate_titles() {
    if ( 
is_certificate() && ! is_certificate_template'certificate_blog.php' ) )
        
remove_action'genesis_post_title''genesis_do_post_title' );

which is similar to the function I used to remove the titles from all the Pages.

Also, I want the search results for the Certificate pages to show the full post, links included, not an excerpt (trying to reduce the number of clicks necessary).

Any advice would be appreciated! Thanks,
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:27 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.