• Hi,

    On my blog I want to change the phrasing of the word “By” which is displayed after the post title.

    Example: [Post Title] BY Mony

    Can someone explain me how I can do that? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • All themes are different so I wont be able to point you directly to what you need to change without seeing the actual code. There are two places this could be changes, one on the post list page and one on the single post page.

    I would suggest you look in the template files ‘content.php’ and ‘single.php’. Depending on the theme there could possibly be a reference in functions.php or an included function file.

    Thread Starter chhimmony

    (@chhimmony)

    Hi, thanks for your reply.

    I want to do this for the Foodie Pro and Swank themes (they are both Genesis child themes).

    For both of them, I run into that:
    – I searched for the template files you mentioned under settings>appearance>editor and I didn’t find “content.php”.
    – Among Genesis other template files, I founded “single.php” and it seemed pretty empty:

    <?php
    /**
     * Genesis Framework.
     *
     * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
     * Please do all modifications in the form of a child theme.
     *
     * @package Genesis\Templates
     * @author  StudioPress
     * @license GPL-2.0+
     * @link    https://my.studiopress.com/themes/genesis/
     */
    
    //* This file handles single entries, but only exists for the sake of child theme forward compatibility.
    genesis();

    I’m not familiar with Genesis (I build all my themes from scratch rather than using an existing framework).

    I would take a guess and say ‘genesis();’ in that file is pointing to a function in some other file which will have the code we need. Question is, which one! Sorry I can’t be of any more help.

    Thread Starter chhimmony

    (@chhimmony)

    All right, I’m gonna scan all my files and report here if I manage to fix my issue.
    Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change the phrasing of "By" on my posts titles’ is closed to new replies.