Posts by Wpsmart

143 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
Wpsmart says

Congratulations :)

143 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
Wpsmart says

Congrats! :)

143 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
Wpsmart says

hi i used this

array(
          'id'        => 'forum_thered_fixed',
          'type'      => 'radio',
          'title'     => 'forum_thered_fixed',
          'options'   => array(
            'open'    => 'open',
            'checked' => 'Checked',
            'closed'  => 'colsed',
            'fixed' => 'fixed',
          ),
          'default'   => 'open',
        ),
<?php $meta_data = get_post_meta( get_the_ID()(), '_custom_post_options', true );
        echo $meta_data['forum_thered_fixed'];

but its not working,

Thanks

143 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
Wpsmart says

Now Frame work is working well. Thanks very much Codestar. Your frame work easy to use and user friendly.

can you give me example for get output of meta radio buttons? i have no idea to how to do it

Thanks and Thanks for every helps :)

143 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
Wpsmart says

Hi Sir,

i complicated my theme options page, but i dont know how to use theme meta box. (very sorry for disturbing you. Im still learning wordpress)

i created metabox.config.php

$options[]    = array(
 'id'        => '_custom_post_options',
 'title'     => 'Custom Post Options',
 'post_type' => 'post',
 'context'   => 'normal',
 'priority'  => 'default',
 'sections'  => array(

   array(
     'name'   => 'section_4',
     'fields' => array(

       array(
         'id'    => 'featured_image_enable',
         'type'  => 'switcher',
         'title' => 'Use Featured Iamge for Post',
         'label' => 'Show Featured image in blog post',
         'default' => true,
       ),

     ),
   ),

 ),
);

CSFramework_Metabox::instance( $options );

but i don’t know how to get output for this. i read your documentation, but i couldn’t fix it.

143 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
Wpsmart says


Thanks for share, good framework.

Thanks ;)

@Wpsmart

Opps yes :) thanks for report. i updated it. you can re-download or only update codestar-framework/fields/background/background.php

Thanks very very much, Now its working well :)

143 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
Wpsmart says

hi @Codestar

Another small bug founded in “background” option, background option default color button not working, can you check it

Thanks very much :)

143 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
Wpsmart says

my item is soft rejected for more than 9 times and most of the cases are my changed files are not properly submitted to the reviewer ,what I mean is I upload the new files and reviewer still get old files , when they send screen shot I used to realise and attach dropbox links. if I attach dropbox links it will goto held state. so this process happened fore more than 2 and half months. I have uploaded my item on 26th October 2014 and still its soft rejected today 9 th time. Did any one face problems with the uploading? its more than 5 days for reach reply I get from reviewer so I am not sure if I will give up uploading again because I see same errors what previous reviewer posts. I am fed up with the item uploader form but still the reviewers are really patient with my item.

last time faced same problem, follow this steps, it will work

first connect file upload to using envato ftp. then you can see your old files https://help.market.envato.com/hc/en-us/articles/202500674-How-to-upload-using-FTP delete your old files. and re-upload your updated files, then submit it to reviewers. i think its bug in file upload system
143 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
Wpsmart says

Hmm actually this is not a bug, You can not write …=”632”... on text field. because there is ( ” ) ?
// output will so ? there must be html syntax error
<input type="text" value="[wpsmart_template id="632"]">

Way1

// you can use:
[wpsmart_template id='632']

Way2

// add this code on /cs-framework/functions/sanitize.php or anywhere
if( ! function_exists( 'cs_sanitize_shortcode' ) ) {
  function cs_sanitize_shortcode( $value, $field ) {
    return htmlentities( $value );
  }
  add_filter( 'cs_sanitize_shortcode', 'cs_sanitize_shortcode', 10, 2 );
}

// setup your config so:
array(
  'id'       => 'text_1',
  'type'     => 'text',
  'title'    => 'Text',
  'sanitize' => 'shortcode',
),

// get option so:
echo do_shortcode( html_entity_decode( cs_get_option( 'text_1' ) ) );

_ but i do not advise textfield for shortcodes. i advise textarea field as you see way3 _

Way3

// use textarea field
array(
  'id'         => 'textarea_1',
  'type'       => 'textarea',
  'title'      => 'Textarea',
  'attributes' => array(
    'style'    => 'min-height: initial; height: 30px;',
  ),
),

Way4 (do not advise)

// config so
array(
  'id'       => 'text_1',
  'type'     => 'text',
  'title'    => 'Text',
  'sanitize' => false,
),

// modify text field class /csframework/fields/text/text.php take a look line 19
from ( value="'. $this->element_value() .'"' ) to ( value=\''. $this->element_value() .'\'' )

Thanks for choose my framework ;)

I used 2nd way, its working, Thanks very much to help me. now all is working great. :)

143 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
Wpsmart says

Congratulation :)

by
by
by
by
by
by