New Landing How can we help? Cardinal Child Theme Changes Not Taking Place

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Cardinal
  • #297102
    bootsandlaces
    Member
    Post count: 3

    I have installed latest Cardinal V2.6.11 and included a child theme.

    All I have changed so far (just to test if it was working) is from…

    $post_categories = get_the_category_list(', ');

    to…

    $post_categories = get_the_category_list(' / ');

    in Template Parts -> Content -> Post Meta Details

    this doesnt show up on the front end…am I missing something. The child theme is currently active and is correctly over-riding some CSS I have applied but not this file.

    #297110
    David Martin – Support
    Moderator
    Post count: 20834

    Is the structure of the child theme exactly the same? Ex:

    /cardinal-child/template-parts/content/post-meta-details.php

    #297113
    bootsandlaces
    Member
    Post count: 3

    Yes I downloaded the original from the Parent Cardinal Theme then re-uploaded it in the directory above…

    #297483
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    For my reference, can you screenshot what you reference.

    I suspect the code is coming from a function and not a template part file.

    It will be in either of the below files and will be a PHP function sf_post_pagination() or sf_get_post_item()– one of those will need to be copied and pasted into the child themefunctions.php file.

    themes/cardinal/swift-framework/content/sf-post-detail.php

    /themes/cardinal/swift-framework/content/sf-post-formats.php

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register