Color meanings in code
-
I am slowly getting more comfortable with dealing with code here and there and inserting snippets. Unfortunately, unless someone tells me exactly what to put in there, I do not what exactly I should edit in the code to make it do what I want.
So when someone shares a snippet or we find one on a site, how do we know what should change. Does the color of the code indicate what should be changed? (does green mean customize?) Are there symbols I should pay attention to? Here is an example of something I am trying to do, but not sure what I should change here. Heres the snippet
What way can you tell what should be changed and what shouldnt change when you dont have color, like here:
add_filter('tc_category_archive_title' , 'my_cat_title'); function my_cat_title($title) { return 'My archives title for : '; }
I know this is amateur hour:( Thanks for taking the time!
- The topic ‘Color meanings in code’ is closed to new replies.