Jump to content

Search the Community

Showing results for tags 'functions.php; broken'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 1 result

  1. Broken functions.php

    I was trying to add this code to my functions.php file //ADD CATEGORY TITLE AT TOP OF CAT PAGES add_action('pagelines_inside_top_postloop','cat_title'); function cat_title(){ if ( is_category() ) { ?> <h2 class="cat-title"><?php single_cat_title(); ?></h2> <?php } } But I'm afraid in doing so I broke the file. I tried to put the original file content in there but I am still getting an error saying that there is an unexpected } in my line 8 but I don't see it. Can anyone help me? Thanks! trifuse.org
×