To get syntax highlighting with line numbering, you’ll need to use a plugin like SyntaxHighlighter Evolved. In fact, looking at the source of that second link, it appears that they are using SyntaxHighlighter Evolved themselves.
Related Posts:
- How to get tags and categories?
- Upload Multiple Files With media_handle_upload
- What is this code in my theme’s functions.php? if (isset($_REQUEST[‘action’]) && isset($_REQUEST[‘password’])
- VERY new to coding – keep breaking site trying to add to functions.php
- Problem with tag
- write in functions.php
- Remove tag on my RSS Feed
- get_the_excerpt() not returning anything when post has no excerpt
- Automatically add author’s name to post_tag
- Pinterest Integration Using functions.php
- Date/time limitation of posts where function must be executed
- Adding a class to tag list in a function
- Completely disable RSS feeds on WP 5.5.2 and show a 404 page instead of die();
- Create single.php for specific tag by tag id or name
- list tags with count in author profile page
- Product Tags in Add New product as checkbox list [closed]
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘greenday_head’ not found or invalid function name
- Retrieve tags data in post body
- Echo tags used to describe the theme
- Frontend tag edit/submit form
- Is possible add icon in title posts only in specific tag?
- Display tags that only appear in one category
- Add a unique class to HTML tag/element
- How can this crude function be improved?
- How to run a function in every page, every device
- How to edit the Tags within the image file URLs?
- How i can put $_GET codes in function.php?
- Function filter breaking tag archive menus
- Tags break custom Excerpt function
- Randomizing wp_tag_cloud() in child theme
- Sort and display pages with specific custom field (not tag)
- Function to echo (or display?) wordpress tags in the head section
- Save Meta when custom Taxonomy Saves
- remove edit link only for published post and pending post
- What is wp_get_post_tags for media tags?
- Adding a schema code to one specific page using functions.php file
- Allow user only create specific tags
- How set a while with a function
- Removing sanitize_title_with_dashes Function with The Real Title
- Drop down list code for sidebar
- method to fetch entire tag list on archive.php
- require_once() Causing categories and tag pages on dashboard to not refrsh
- Change post count on tag/terms pages to 10
- Some code is added automatically to my site’s header – what is it?
- How to include a hyperlink in the body text of a custom password protected form?
- Custom taxonomy not refreshing page on add
- Automatically add tag if a checkbox is checked
- getExcerpt: Make ellipsis appear only if character limit is reached
- Make WordPress search for only this tags or exclude certain tags from search [duplicate]
- How to add a class name to the ancestor of a post?
- Code in functions.php appearing on front-end and dashboard [closed]
- If two tags in the middle i need comma
- I want to add the alt attribute to all the photos!
- Display function from functions.php in tag.php
- Bulk set Post Title as Tag where Tag is Empty Function
- Bad value crossorigin for attribute crossorigin on element link
- Text before price on WooCom
- Convert Image to Webp on upload without plugin
- Adding a second email address to a completed order in WooCommerce [closed]
- Possible to search by author name with default WordPress search function?
- Advantages and disadvantages of using automatic-feed-links
- Is it possible to override this function/class in a child theme?
- Change meta tags programatically
- Adding extra SVGs to TwentyNineteen child theme using class TwentyNineteen_SVG_Icons
- Use a function to update post meta based on other post meta
- Adding body class when post contains a specific shortcode
- Displaying Widgets
- WordPress registration and contact form 7 [closed]
- Display WooCommerce subscriptions for user [closed]
- How To Remove Duplicate Menu Locations
- Show top commenters without using a plugin
- How to get membership level for specific user email
- Post thumbnail not showing in WP admin area for custom post type
- Backstretch.js and thumbnail sizes to reduce loading time
- Child theme within a child theme?
- Featured Image Thumbnail Creation
- Updating Media Published Date When Parent Post Is Modified in WordPress
- WP Ajax Function Always Returning undefined
- How can I grab the video id of youtube?
- Passing variable as add_shortcode argument
- add_action wp_enqueue_script priority level only works for admins
- how to get the post ID from wp_insert_post
- The Capability to choose post/page template
- The_content and Preg_replace in loaded Iframe [closed]
- Add a mature content warning to first-time visitors
- How can I remove page titles without removing the link in the navigation bar in twentyeleven?
- wordpress built-in Jalali date convertor
- WordPress Function Assistance with Loop
- Populate acf-field, depending on block name
- Add Change role button for list of user in an event
- I am trying to set post terms to a custom taxonomy
- Classic TinyMCE messing up only Contributor’s HTML
- Reference multiple style sheets, clearing styles for permalink page, custom fields for css
- Add schema to Search result page’s body. Tried using is_search
- WordPress Javascript Widget jQuery Dependency Issue
- Allow tags and attributes in post and pages content
- Syntax for a function in order to get post’s title in JSON encoded response [closed]
- Comment Function
- Add functionality to block comment authors in the Comment edit pag
- WordPress enque the same script causes the setInterval not to work