Posts by PersianArt

255 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

no any other suggestion

with new TinyMCE an wp+ I can not have shortcode button with name “button”

255 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

WP 3.9+ is using TinyMCE 4. Due to api change, previously defined custom buttons won’t work.

AJ wrote a good tutorial for switching http://www.wpexplorer.com/wordpress-tinymce-tweaks/.

If you’re using zillashortcodes you can find fix’d version here https://github.com/jonbolden/zilla-shortcodes-wordpess-3.9-fix or download zillashortcodes v2 from the official site(note that some functions were removed in this version; i find the fix’d v1 better).

Thank you I will check them, but my problem is only I can not hve shortcode with name “button”

thanks

255 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

Can you post your shortcodes function so we can take a look?
this is usual way
// init process for button control
    function shortcode_addbuttons() {

        // Only add hooks when the current user has permissions and is in Rich Text editor mode
        if ( ( current_user_can('edit_posts') || current_user_can('edit_pages') ) && get_user_option('rich_editing') ) {
            add_filter('mce_external_plugins', 'add_shortcode_tinymce_plugin');
            add_filter('mce_buttons_3', 'register_shortcode_button_3');
            add_filter('mce_buttons_4', 'register_shortcode_button_4');
        }
    }
    add_action('init', 'shortcode_addbuttons');

    function register_shortcode_button_3($buttons) {

        array_push($buttons, 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'separator');
        array_push($buttons, 'row', 'column', 'percent_column', 'separator');
        array_push($buttons, 'accordion', 'toggle', 'tab', 'separator');
        array_push($buttons, 'divider', 'space', 'separator');
        array_push($buttons, 'tbutton', 'separator');
        array_push($buttons, 'list', 'faq', 'quote', 'dropcap', 'highlight', 'separator');

        return $buttons;
    }

    function register_shortcode_button_4($buttons) {

        array_push($buttons, "step", "counter", "personnel", "separator");
        array_push($buttons, "social", "progress_bar", "price_table", "contact_info", "separator");
        array_push($buttons, "testimonial", "message_box", "stunning", "twitter", "separator");
        array_push($buttons, "youtube", "vimeo", "separator");
        array_push($buttons, "frame", "slider", "separator");
        array_push($buttons, "service1", "service2", "service3", "separator");
        array_push($buttons, "portfolio", "post", "separator");
        array_push($buttons, "client", "separator");

        return $buttons;
    }

    // Load the TinyMCE plugin : editor_plugin.js (wp2.5)
    function add_shortcode_tinymce_plugin($plugin_array) {

    $plugin_array['allshortcodes'] = get_template_directory_uri() . '/includes/shortcode/shortcodes.js';

        return $plugin_array;
    }

function my_button($atts, $content = null) {
        extract(shortcode_atts(array(
            "text" => 'Read More',
            "href" => '#',
            "size" => '',    // small, larg, xlarg
            "class" => ''    // reverse
        ), $atts));

        $my_button = '<a class="normal-button '.$size.' '.$class.'" href="'.$href.'" title="">'.$text.'</a>';
        return $my_button;
    }
    add_shortcode("tbutton", "my_button");

consider I change “button” to “tbutton” for work but I want it be “button” like as previous.

the problem is only for this shortcode that has name “button”

thanks

255 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

Hi

I have shortcode button with name “button” but in wp +3.9 this button did not appear and work. have you any experience like this and how solve this? by change name? is there any other way?

thanks

255 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

but before that review process was very more speedy than this days (maybe 2 days) while themeforest add another reviewer, isn’t it?

255 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

I will post comments on Verovski name.

Thank you so much, I see them and will consider them for next submit.

255 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

My PSD rejected again and again without any detailed reason. can you help me to find the issue.
Themeforest reason (The overall quality of your submission…)

https://redpen.io/np18e0060031d02bcb
https://redpen.io/jp715bf7e02dc59a6b
https://redpen.io/bx1974e01d425e7dd2
https://redpen.io/yp7bec219479d386a6
https://redpen.io/ah56f7ee8a97f8f962
https://redpen.io/qh3344e5d7ada5b8d6
https://redpen.io/dub45dbaa10de40c1d
https://redpen.io/neb4f0cab6f06c320e
https://redpen.io/mk5213e1810f299ec4

You can note on the images with click on desired section.
Any suggestion appreciated.

Thanks

255 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

@FinalDestiny
@Smartik

Thank you so much for your reply

255 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

nothing? :(

255 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

I want know really it is important that create theme with bootstrap?
is it affected on sale?
my latest theme has not good sale, can it one of reason?

please send your experience.

Thanks

by
by
by
by
by
by