created a class-content-post.php to change text but still the same (5 posts)

  1. careerwo
    Posted 2 years ago #


    can someone please help!

    I tried created a class-content-post.php in the child-theme to change the default text "This entry was posted in.." to "This Job was listed in..." but the post page still having the same default text...

    please advise.


  2. ElectricFeet
    Posted 2 years ago #

    Swapping text like this is something I do with the Say What? plugin. Works a treat. (Tip: set the domain to customizr)

  3. rdellconsulting
    Posted 2 years ago #

    That's a useful one, thanks @EF

  4. Revrob1959
    Posted 2 years ago #

    Hi Customizr Folks,

    This is a great theme! And your Dev Tools are really helpful. I wanted not to have the name of the person who posted show up after the post, so I used the Dev Tools to help me locate “class-content-post.php” and tried to comment out that particular code. When I did that I got this error message:

    Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in /home1/pilgrims/public_html/wp-content/themes/customizr/parts/class-content-post.php on line 168

    Finally, I was unable even to access my wp-admin dashboard and ended up having the folks who host my site disable the “Customizr” theme so I could log into wp-admin. I deleted the theme and then reinstalled and re-activated it.

    It’s working fine now, but I’m back to my original problem: I don’t want the name of the person making the post to show up on the page.


    Thanks for a great theme and I look forward to hearing from you soon.

    Robin Jarrell
    [email address moderated - these forums do not provide support via email]

  5. rdellconsulting
    Posted 2 years ago #

    Try this Snippet

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.