To insert code use <code>...</code>.
Customizing the Titles
  • In this attachment you can see that in the title of the you can see the "Category Title:" as part of the title of the posts in this example it is both "Yeehaw!:" and "Board Review:"

    I'm wondering how to add the Category Title with the colon ( ex. Category Title Name: ) for the posts, pages and portfolio items, so that you don't have to type that into every title when posting something. I'm thinking it's in the themeGenerator.php or possibly the blog.php files but I'm not finding where?

    Thanks
    Solomon
    Screen shot 2012-04-14 at 12.32.56 PM.png
    606 x 573 - 274K
  • 4 Comments sorted by
  • Hi,

    I think the title is set in the loop.php and single.php

    This is not a feature Striking supports natively, and you will have to look to 3rd party resources in order to see if this ability exists.

    Best regards,
    BackuPs
  • Hi BackuPs, I looked into the area in which you suggested, however, I don't think that is the correct place ( could be wrong though? ).

    I tried some changes in those suggested areas with no results, even when I deleted the code completely, the titles still showed on the page.

    I'm thinking I just need to find the correct places and add the following code to it in some fashion.

    Either this code:
    <?php get_category_link( $category_id ); ?>

    Or Something Like This:

    <?php
    // Get the ID of a given category
    $category_id = get_cat_ID( 'Category Name' );

    // Get the URL of this category
    $category_link = get_category_link( $category_id );
    ?>


    The problem is, where is it located and what code needs to go in there? I'm not a programmer, I'm a designer, that can tool around a bit with very, very limited knowledge of code.

    Are there any of the moderators that can help with this question?

    Thanks
    Sol
  • Hi Admin's I was hoping you could answer this question as well?

    Thanks so much
    Sol
  • I've been playing around a bit with the blog.php file and when I delete the line 178 it takes away the titles I'm looking to change, so I know this is the spot I need to work on. However, I can't figure out what code to put in there to call the category name, specifically the child category name.

    I've mess with a few different calls, but I'm having 0 luck with it.

    Any word on this as all?

    Thanks
    Sol