Jump to content
Sign in to follow this  
kelp

Remove Post Title Link In Custom Post Type Archive

Recommended Posts

kelp    0
kelp

Hello,

How I can remove the link of the post tilte in a custom post type archive page?

I would like to list my custom posts but not linking to the specific posts.

 

Thanks for advance!

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, unfortunately there doesn't seem to be an easy solution for this, css won't be able to detach the link or make it inactive. The only option might be a php solution, but php isn't my strong point so unfortunately I'm unable to help you there.

 

Have you considered creating the list manually inside a page, or using a plugin which will create the archive pages for you which has the options built in or that you can then edit (without touching the pl core files)? Something like http://wordpress.org/extend/plugins/ninja-page-categories-and-tags/faq/


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • art23130
      By art23130+
      I have uploaded a file shoing missing sections for Custom Post Type
      It is OK for categories and tags but not for a single post types. 
      This is the link. 
      https://www.geoinformation.com/geocode_library/10-10570-rsg-2016-003/
      Any idea?
      thanks 
      Binder1.pdf
    • Michael Kummer
      By Michael Kummer+
      Hi guys,
      Is it possible, and if so, how, to change the layout of the archive pages? For example, I would like to use a smaller and more compact image size for featured images and shorten the amount of text that's displayed for each post without also changing how featured images are displayed on single post pages.
      I am talking about https://michaelkummer.com/apple/ vs How to extend the storage of your iPhone or iPad.
      Thanks
      Michael
       
    • PeriniNero
      By PeriniNero+
      We are building a Custom Post Type with Custom Fields and Custom Taxonomies.
      The only thing we dont understand is how to embed the Custom Fields including header tags and stuff in the Postloop (now we use a text-box below the postloop section but also SEO wise this is not best pratice).
      So we thought to copy the dms Postloop section to our child theme and rename this, to add an extra Postloop section to our theme. Is this the way?
      What exactly to adjust in those 3 files class.posts.php, section.php and style.less (at this point we know how to change the thumb LOL) and where to add the Custom Fields shortcodes?
      Thanks.
    • Audun MB
      By Audun MB+
      I'm using plugins such as Events Manager and WP Glossary. Basically I need to edit the meta information and the breadcrumb for the custom post types Event and Term. The plugins instruct me to add a single-event.php and single-glossary.php in my (child) theme.
      What should I use as a basis for these files? Can I use the templates in the Framework main theme as a basis (tpl-a.php)? Or should I use the whole page.php file?
       
    • jennajonesdesign
      By jennajonesdesign+
      Hi!
      Is it possible to have multiple archive templates? Sometimes I don't like to have all of my posts grouped together. On the current site I am working on we have a "Job Openings" section completely separate from a "News and Events" section. All I am trying to do is add a different header to each section, but even when I save as separate templates they keep over-riding each other. I am unlocking first. 
      Is this just error on my part, or is it not currently an option to have multiple archive templates?
      Let me know! Thanks!
      Jenna
×