codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Create a plugin with shortcode for Elementor – Most basic ever!

    28th January 2021

    Wordpress - Miscellaneous

    wordpress category

    1. Save this code below as rawcode.php

    2. Create a folder in the plugins folder called the same – “rawcode” (\wp-content\plugins\rawcode)
    3. This will now show up as a plugin. Activate it.

    4. In a page or post within elementor (or without) add the following shortcode. [rawcode-plugin-demo]
    5. It will now appear in the post/page.

    6. All the code you want should be placed between the brackets where it says “hello this is the rawcode demo”.
    7. You do not add anything to the functions file.

    Was this code snippet helpful?