WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content by Country (by iControlWP)
[resolved] Is it possible to remove the SPAN tag? (9 posts)

  1. eran_more
    Member
    Posted 1 year ago #

    Can i completely drop all the surrounding SPAN tags?
    This:
    <span class="cbc_content" data-detected-country="uk" >
    ....
    </span>

    http://wordpress.org/extend/plugins/custom-content-by-country/

  2. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    Currently, no, there isn't, but I'm sure I could add an option to it to remove all surrounding html tags...

  3. eran_more
    Member
    Posted 1 year ago #

    Can you direct me to where in the PHP should I look in order to do it manually (until the next update? :-))
    Thanks, Eran.

  4. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I've released version 2.9 that gives the option you need. For more information, see the FAQs, but basically you'll need to use the parameter:

    html="none"

    Also, this release has the latest ip2nations database to install.

    I hope that helps.

    If you find this plugin useful, please give the plugin a nice positive review on WordPress.org... it really helps. Also, check out worpit.com to see what else we do :)

    Thanks,
    Paul.

  5. roeeyossef
    Member
    Posted 1 year ago #

    Hi Paul,

    Thanks for this great plugin !
    unfortunately those span tags still exists in ver.2.9..
    am i missing something ?

  6. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    Did you use the new parameter?

  7. eran_more
    Member
    Posted 1 year ago #

    Hey Paul,
    Yes - it looks ok now!
    I was just about to drop a word about it :-)
    I'll also add a recommendation soon.
    Thanks,
    Eran.

  8. roeeyossef
    Member
    Posted 1 year ago #

    Apparently not, it's working great now !

    Thanks,
    Roee Yossef

  9. Paul G.
    Member
    Plugin Author

    Posted 1 year ago #

    Excellent! :)

    Thanks in advance for any nice reviews you leave the plugin! ;)

    Cheers,
    Paul

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic