This article will describe how you can split large php files line by line to smaller php files. If you have a large php file with content in each line of the file and you would like to convert it to smaller chunks then here you will find the php script code to do that Continue Reading …
Category: PHP
Enable syntax highlighter evolved in comments in wordpress
If you would like to enable syntax higlighter evolved by alex gorbatchev wordpress plugin to also do syntax higlighting in the comments then you will have to add enable shortcodes in your comments.Here is how to to enable syntax higlighter in comments.Add the following code to your theme’s function.php Continue Reading …
WordPress : Add Text or Content To Bottom Of Post without plugin programmatically
This article will describe in detail adding text or any other content at the bottom of all posts programatically at run time without any changes to the wordpress database.The article will discuss 7 different requirements all done without a plugin through theme’s functions.php file as follows :- Adding simple text or any content as Ads Continue Reading …
WordPress : Execute external php file
If you have created a folder within your word press directory and have placed a php file there and you would like to execute this php file then this article will tell you in detail how to run php files external to your theme.There are 3 Methods explained in this article.You will not require a Continue Reading …
WordPress : Using syntaxighlighter plugin with gutenberg editor causes error
Do you use Syntaxhighlighter Evolved Plugin to highlight code in gutenberg block editor and it creates error in the form of replacing the code with funny characters while publishing or updating the post ? If yes then this article will describe exactly how to fix this error from occurring and breaking the code. If you Continue Reading …
WordPress : Replace string in content of all pages
Don’t want to open the wordpress post editor for individual posts to change text in order to replace a specific string that is found in all posts or pages of your website, then this method is far better than doing a Search replace on your mysql db for a given text. You will learn to Continue Reading …
WordPress insert page break into post
You must have seen long wordpress posts spanning multiple pages.The bottom of the posts will contain the page numbers.Numbering the page breaks contained in your posts is the feature of your theme and almost all modern themes have this feature,However you will have to insert the page break manually inside your wordpress post at the Continue Reading …
Add Google Analytics to WordPress Website
Adding google analytics code to your wordpress website is easy. This article will describe how to accomplish that without any plugin, manually in a simple manner. Step 1 : Creating the widget area. We shall first create a widget area to which you can add the google analytics code using a text widget from the Continue Reading …