Title: Goran Petrovic's Replies | WordPress.org

---

# Goran Petrovic

  [  ](https://wordpress.org/support/users/goran321/)

 *   [Profile](https://wordpress.org/support/users/goran321/)
 *   [Topics Started](https://wordpress.org/support/users/goran321/topics/)
 *   [Replies Created](https://wordpress.org/support/users/goran321/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/goran321/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/goran321/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/goran321/engagements/)
 *   [Favorites](https://wordpress.org/support/users/goran321/favorites/)

 Search replies:

## Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[The Chameleon] SSL error](https://wordpress.org/support/topic/ssl-error-26/)
 *  Theme Author [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/ssl-error-26/#post-9740908)
 * Hi,
 * That error is because your localhost installation is not under SSL.
 * You can read theme documentation on [https://chameleon-theme.com/docs/](https://chameleon-theme.com/docs/)
    -  This reply was modified 8 years, 7 months ago by [Goran Petrovic](https://wordpress.org/support/users/goran321/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [How to get post, page or taxonomy ID under add_action(‘customize_register’, …)](https://wordpress.org/support/topic/how-to-get-post-page-or-taxonomy-id-under-add_actioncustomize_register/)
 *  Thread Starter [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/how-to-get-post-page-or-taxonomy-id-under-add_actioncustomize_register/#post-9364623)
 * Also I need to save options from customize in post meta.
 * I can filter on save_customize get the filed and update post meta. But do you
   have some other suggestion?
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [How to get post, page or taxonomy ID under add_action(‘customize_register’, …)](https://wordpress.org/support/topic/how-to-get-post-page-or-taxonomy-id-under-add_actioncustomize_register/)
 *  Thread Starter [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/how-to-get-post-page-or-taxonomy-id-under-add_actioncustomize_register/#post-9364599)
 * I try to create page options in customize by Page template. So if I have 2 pages
   whit same page template I need different options name in customize. I need to
   set page_34_background, page_40_background… etc…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Visual Form Builder] Translation](https://wordpress.org/support/topic/translation-581/)
 *  Thread Starter [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/translation-581/#post-8219798)
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] Map don't show](https://wordpress.org/support/topic/map-dont-show/)
 *  Thread Starter [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/map-dont-show/#post-7623796)
 * Thanks, I fixed.
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] Map don't show](https://wordpress.org/support/topic/map-dont-show/)
 *  Thread Starter [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/map-dont-show/#post-7623746)
 * This is [http://tworld.dev.executive-digital.com/office-locations/](http://tworld.dev.executive-digital.com/office-locations/)
 * _[Please do not bump]_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] Map don't show](https://wordpress.org/support/topic/map-dont-show/)
 *  Thread Starter [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/map-dont-show/#post-7623663)
 * When I switch default theme map work.
 * I use bootstrap in theme, maybe that make bug?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[The Chameleon] What is this?](https://wordpress.org/support/topic/what-is-this-34/)
 *  Theme Author [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/what-is-this-34/#post-6234679)
 * Also you can watch tutorials on our site [http://www.chameleonthemes.net/category/tutorials/](http://www.chameleonthemes.net/category/tutorials/)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[The Chameleon] What is this?](https://wordpress.org/support/topic/what-is-this-34/)
 *  Theme Author [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/what-is-this-34/#post-6234678)
 * Are you check readme.txt file? maybe documentation is in that file.
 * New skins coming soon.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Visual Form Builder] [Plugin: Visual Form Builder] define('WP_DEBUG', TRUE);](https://wordpress.org/support/topic/plugin-visual-form-builder-definewp_debug-true/)
 *  Thread Starter [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-visual-form-builder-definewp_debug-true/#post-2794987)
 * just define variables
    $variable = (!empty($value)) $value ? : NULL ;
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Visual Form Builder] [Plugin: Visual Form Builder] define('WP_DEBUG', TRUE);](https://wordpress.org/support/topic/plugin-visual-form-builder-definewp_debug-true/)
 *  Thread Starter [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-visual-form-builder-definewp_debug-true/#post-2794969)
 * But i must to say this is a best form builder plugin 🙂 for me.
 * And if you can add on select box some list of values like countries list or somting
   simple…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Visual Form Builder] [Plugin: Visual Form Builder] define('WP_DEBUG', TRUE);](https://wordpress.org/support/topic/plugin-visual-form-builder-definewp_debug-true/)
 *  Thread Starter [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-visual-form-builder-definewp_debug-true/#post-2794968)
 * just try work on site when is DEBUG == TRUE,
    don’t work redirect don’t work 
   message after submit, don’t work form bulder.. etc… 😉 that is a 10h work to 
   fix that …
 * Best regards
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Dynamic the_excerpt](https://wordpress.org/support/topic/dynamic-the_excerpt/)
 *  [Goran Petrovic](https://wordpress.org/support/users/goran321/)
 * (@goran321)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/dynamic-the_excerpt/page/2/#post-1622662)
 * [@alchymyth](https://wordpress.org/support/users/alchymyth/)
 *     ```
       /* THE_EXCERT */
       	function the_excerpt_dynamic($length) { // Outputs an excerpt of variable length (in characters)
       		global $post;
       		$text = $post->post_exerpt;
       		if ( '' == $text ) {
       			$text = get_the_content('');
       			$text = apply_filters('the_content', $text);
       			$text = str_replace(']]>', ']]>', $text);
       		}
       			$text = strip_shortcodes( $text ); // optional, recommended
       			$text = strip_tags($text); // use ' $text = strip_tags($text,'<p><a>'); ' to keep some formats; optional
   
       			$output = strlen($text);
       			if($output <= $length ) {
       				$text = substr($text,0,$length).' <div class="read_more"><a href="'. get_permalink($post->ID) . '" class="read_more_link" > Read More</a></div>';
       			}else {
       				$text = substr($text,0,$length).' [...]<div class="read_more"><a href="'. get_permalink($post->ID) . '" class="read_more_link" > Read More</a></div>';
       			}
   
       		echo apply_filters('the_excerpt',$text);
       	}
       ```
   
 * returns “[…]” if the text is longer or just text if not…

Viewing 13 replies - 1 through 13 (of 13 total)