Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #94260
    Taher
    Participant

    I want to show any single post permalink at to of the post as Home\Category Name\Post title. But Catch Katmundu Show only Post Title.

    <header class=”entry-header”>

    <h1 class=”entry-title”>

    [[ I want to show here = Home(what attribute here for home link?)\Category-Name(what attribute here for category linked?)\<?php the_title(); ?>]]

    ” title=”<?php echo esc_attr( sprintf( __( ‘Permalink to %s’, ‘catch-kathmandu’ ), the_title_attribute( ‘echo=0’ ) ) ); ?>” rel=”bookmark”><?php the_title(); ?> </h1>
    <?php if ( ‘post’ == get_post_type() ) : ?>
    <div class=”entry-meta”>
    <?php catchkathmandu_header_meta(); ?>
    </div><!– .entry-meta –>
    <?php endif; ?>
    </header><!– .entry-header –>

    How can solve this problem? Please help me.

    #94265
    Pratik
    Participant

    HI @taher,

    I think you want pretty permalinks that will show url as http://example.com/category-name/post-name.

    For this, you do not need to edit the theme files. You can simply achieve it by following steps:
    1. Goto Dashboard=> Settings => Permalinks
    2. In Common Settings select Custom Structure
    3. There add this in the box /%category%/%postname%/
    4. Save and view the links
    For more info, checkout the screenshot here.

    #101508
    Taher
    Participant

    Thanks Mr @Pratik.

    I did’t understand my problem, so I can’t described is correctly. I was solved my problem by Breadcrum Next a plugin. Please tell me If possible use breadcrum without any plugin.

    Thanks again.

    #101531
    Pratik
    Participant

    Hi Taher,

    Currently, the theme does not support breadcrumbs, but I will forward it to our technical team and see what they can do about it. Maybe in next update, we can add it. But I cannot be 100% sure about this. Check the changelog for next version update when it is available.

    Regards,
    Pratik

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Adding Home and Category Link in Page/Post Tilte.’ is closed to new replies.