Posts by UXbarn

417 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

I think moving shortcodes to individual plugin isn’t the appropriate solution. It sounds strange and I think it’s not the purpose of the “plugin” in the first place. A plugin should be created and available to be massively used by users to serve some specific requirements, and it should be optional.

If the authors create their own plugins just for their shortcodes only, do you still see that is normal? What’s the point here? Are all shortcodes really needed to be in the plugin? Why?

If the answer to those questions is to make it more standard and to be complied with wp.org’s best practices, then you should build up the standard plugin for all of us, only one plugin for us to use for the same purposes. That plugin should include all possible shortcodes. It should be flexible and scalable enough for us to build our custom works on top, and the most important is, it shouldn’t limit our creativity.

417 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

Thank you! :)

417 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

I’m not sure I understand it correctly about having shortcodes in the theme. Does the new rule mean we couldn’t include built-in shortcodes and shipped with the theme anymore?

If yes, I’m wondering what if the plugins out there don’t have the specific features for the theme? Let’s say the unique portfolio list with some specific features. How do we handle this if we are not allowed to have shortcodes with that functionality included in the theme?

Anyway, I like the idea of making it standardized. But, personally I think shortcodes are still needed to be included with the theme, unless Envato or someone releases a very standard plugin which has standard framework and include all possible standard shortcodes for every author to build their works on top. Then everything here will have the same standard for shortcode usage…

417 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says


What about integrating Visual Composer plugin into the theme?
You are not allowed to include absolutely any plugins in the theme. But you can create your own version and give that to buyers.. And you can include all shortcodes with that..

What?? I mean to include it just like LayerSlider plugin as many authors here do as usual. When you search for “Visual Composer”, there are a list of themes that include the plugin. Are you saying this is not allowed? I’m confused :/

417 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

What about integrating Visual Composer plugin into the theme and use some of the theme shortcodes via the plugin interface (surely it includes maps, columns, accordion which are in your “Inadmissible” list)? Is this the case of using plugin for the functionality of creating page elements and is it allowed to do so?

I’m hardly working on this for the new theme and I honestly worry when seeing the requirements…

417 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

Really awesome, congrats! :bigsmile:

417 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

Thanks @OriginalEXE! Will try that. :)

417 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

Hi,

I’m having an annoying problem with auto p tag that wraps around the shortcode. I’ve searched for many ways to solve this but I’m not sure which one is valid and can be accepted.

I’m currently using this:
add_filter('the_content', 'do_shortcode', 7);

But it only works for some cases. “p” tag is still there on some element, don’t know why.

Then I’ve found this:
function clean_shortcodes($content) {   
    $array = array (
        '<p>[' => '[', 
        ']</p>' => ']',
        '<p><span>[' => '[', 
        ']</span></p>' => ']', 
        ']<br />' => ']'
    );

    $content = strtr($content, $array);
    return $content;
}
add_filter('the_content', 'clean_shortcodes');

This one actually works. It can solve my problem but I think I used to read from some where that it would not be accepted? Not sure if I’m wrong…

Could you guys advise what solution are you using and valid for this case?

Thanks!

417 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

You can include it in the Theme Preview zip file. :)

417 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

Congratulations! ;)

by
by
by
by
by
by