Category: Advanced

  • Why Making Plugins For Profit is a Bad Idea

    It seems like if you discover a need, then making a publicly available plugin to fill that need could be a good idea. Compared to other ways of generating a profit, such as building a membership website, or one supported by affiliate advertising, creating plugins for profit should probably be low on your list. The […]

  • PHP In Your Posts and Pages

    With the addition of the free “Insert PHP Code Snippet” plugin by xyzscripts.com, you can put this code in your functions.php file, then you can add php code directly into Text widgets. This will work with classic themes and block themes such as Twenty Twenty-Two. To insert PHP, select XYZ PHP Code (which is not […]

  • PHP In Your Widgets, Classic

    In classic WordPress themes, you can put this code in your functions.php file, then you can add php code directly into Text widgets. function php_in_widgets($html){ if(strpos($html,”<“.”?php”)!==false){ ob_start(); eval(“?”.”>”.$html); $html=ob_get_contents(); ob_end_clean(); } return $html; } add_filter(‘widget_text’,’php_in_widgets’,100); For example: Note that you’ll want to be sure to use the [Text] tab, not [Visual].

  • Is Your Hosting Company Killing Your Website?

    I had a client with a website that was taking 21 seconds for pages to appear. She contacted her hosting company and after making her spend an hour doing various tests, they said ‘something’ was wrong with her website. ‘It wasn’t anything on their end.’ She then went through a couple of web experts who […]

  • How To Build a Converter

    Prerequisite: How to Embed Javascript In the following example, we’ll build a Fahrenheit – Celsius converter. This uses standard Gutenberg HTML blocks. If you prefer the classic editor, the coding is the same, and will work fine when built in the [Text] tab. Notice that the first two elements above are also HTML blocks which […]