Title: template-tags.php issue
Last modified: August 31, 2016

---

# template-tags.php issue

 *  Resolved [justinrobbins](https://wordpress.org/support/users/justinrobbins/)
 * (@justinrobbins)
 * [10 years ago](https://wordpress.org/support/topic/template-tagsphp-issue/)
 * Hi
 * WordPress novice here. I have created a child theme of BHost to run my site: 
   [http://fit2communicate.com/](http://fit2communicate.com/). I wanted to remove
   the ‘Posted In’ and author details from posts and after searching through this
   forum looked into the template-tags.php (inc/template-tags.php) file.
 * I took a copy paste of the code before changing anything. Once I changed what
   I thought would fix the issue I tried and it didn’t – I just got the error message:
 * Parse error: syntax error, unexpected ‘edit_post_link’ (T_STRING), expecting ‘{‘
   in /home1/commsess/public_html/fit2communicate.com/wp-content/themes/bhost/inc/
   template-tags.php on line 19
 * I put the code back as it was but I am still getting this error on the site and
   am now stuck.
 * Thanks in advance for any help you can give me.
 * Justin

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Clarion Technologies](https://wordpress.org/support/users/clarionwpdeveloper/)
 * (@clarionwpdeveloper)
 * [10 years ago](https://wordpress.org/support/topic/template-tagsphp-issue/#post-7408928)
 * Hello justinrobbins,
 * Their is syntax error of missing ‘{‘ can you please check your /template-tags.
   php file once.
 * Thanks
 *  Thread Starter [justinrobbins](https://wordpress.org/support/users/justinrobbins/)
 * (@justinrobbins)
 * [10 years ago](https://wordpress.org/support/topic/template-tagsphp-issue/#post-7408950)
 * I can’t access any of the files as I am locked out of the admin function.
 * As I understand I need to replace the fle via FTP?
 * But I can’t find the file to replace in my file structure.
 *  Thread Starter [justinrobbins](https://wordpress.org/support/users/justinrobbins/)
 * (@justinrobbins)
 * [10 years ago](https://wordpress.org/support/topic/template-tagsphp-issue/#post-7408958)
 * Problem solved now – I re-uploaded the template-tags.php file via FTP and all
   is now back online. Thanks anyway.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘template-tags.php issue’ is closed to new replies.

## Tags

 * [template-tags.php](https://wordpress.org/support/topic-tag/template-tags-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [justinrobbins](https://wordpress.org/support/users/justinrobbins/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/template-tagsphp-issue/#post-7408958)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
