• Anonymous User 15141300

    (@anonymized-15141300)


    Is there a way I can insert a “Naked Site URL” as a variable with this plugin? I’ve tried to use “Site URL” and “WordPress URL” variables, but both are showing the https://. I just want the example.com. How to do this?

    • This topic was modified 4 months, 1 week ago by Anonymous User 15141300.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi,

    Thanks for using Shortcoder. Right now that parameter is not available. That parameter requires extra code. Is it ok if I make it available in the next version of the plugin? (I’m targetting a release this month end)

    Thanks,

    Aakash

    Aakash,

    While you are working on this. Please consider short codes for:

    eg: https://john.example.com

    “subdomain_only” = john
    “fulldomain” = john.example.com
    “domain_only” = example.com

    Plugin Author vaakash

    (@vaakash)

    Hi @melatwood,

    I reviewed this request again and see that it might not fit into the main plugin as the request is very unique.

    These are called parameters and is an additional feature beyond the plugin’s main functionality. However this list could be expanded using custom code.

    I wrote the code below to add the parameters as per your requirement.

    Please paste this code snippet in your wordpress site. There aer multiple ways to do it. You can search online or check this article – https://www.aakashweb.com/articles/best-methods-to-insert-custom-php-code-in-wordpress/

    Code: https://gist.github.com/vaakash/92d56f4cf55db5fab3f891086ba65b76

    This will introduce 3 new parameters as you requested. Please expand over this list, add, delete parameters as per your requirement.

    Thanks,

    Aakash

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.