Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialStavros Sofroniadis
Courses Plus Student 1,503 PointsAbout User Profile Settings in WordPress
When we view User Profile Settings there are some settings dont undrstand:
1)Syntax Highlighting ---> Disable syntax highlighting when editing code Have activated and deactivated but didnt see any changes when creating a new post.
2)Keyboard Shortcuts ---> Enable keyboard shortcuts for comment moderation
3)Visual Editor ---> Disable the visual editor when writing In wchich case do we enable or disable Visual Editor?
4)Biographical Info In which case do we mention any biographical info about our profile? This info we mention is appeared on web site when we publish a post/page?
Thank You for assistancce,
3 Answers
Liam Clarke
19,938 PointsHi
Its hard to know without knowing what plugin your referring to but ill explain what i believe each one means:
- Syntax highlighting - This is for when you create posts with codeblocks, you'll have to see what the plugin supports but more than likely it will be wrapped within a <pre> tag or <code> tag but it should display the code more neatly for you, like below:
var message = "This displays with JavaScript syntax";
console.log(message);
Keyboard shortcuts - Heres a bunch of built in shortcuts that are very handy
Visual Editor - This is mainly for if you are competent with writing in timyMCE text which WordPress uses when you are writing a new post, if you prefer to paste in html which many developers prefer over the visual editor
Biography info - Depending on your theme your using will depend if it is shown or not, if you want to show the information or find if the theme shows it, go to the author.php
and look for author meta data for "description", if you want to display it, you could enter something like the below to the author.php page
<p><?php esc_html_e( get_the_author_meta( "description" ) ) ?></p>
Good Luck!
Stavros Sofroniadis
Courses Plus Student 1,503 PointsHi,
Thank You for reply,
The above mentioned settings dont refer to any installed plugin but is about Users-Your Profile(settings) where are settings.
Stavros Sofroniadis
Courses Plus Student 1,503 Pointsregarding Keyboard shortcuts, if it is disabled will cannot use keybord during creation of a post?
when disable Visual editor then we write in html code?
Regarding the theme, if it supports author description, in case we write few words about author will appear on the website?
If the theme doesnt supports the author description, it enter the above code could display it?
Thank You,