<div dir="ltr">hi chip,<div>updated this in my new version . But the preview has still broken img need help ,urgent help.</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><div><b>Best Regards</b><br>
</div><b>Weblizar<br></b></div><b>Follow Us: <a href="https://twitter.com/weblizar" target="_blank">Twitter</a> | <a href="https://www.facebook.com/pages/Weblizar/1440510482872657" target="_blank">Facebook</a> | <a href="https://plus.google.com/u/0/100920322672659513870/" target="_blank">Google+</a> | <a href="http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460" target="_blank">Linkedin</a></b> | <b><a href="http://www.pinterest.com/lizarweb/" target="_blank">Pinterest</a></b><br>
</div></div>
<br><br><div class="gmail_quote">On Tue, Jun 24, 2014 at 12:26 AM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">You can't *set* (i.e. write to the database) default values, but what you can (and should) do is to tell WordPress to use your defined defaults if no user option is set.<div><br></div><div>The easiest way is to write two functions: one that returns an array of default values, and another that returns an array of settings.</div>
<div><br></div><div>function themeslug_get_option_defaults() {</div><div> $defaults = array(</div><div> 'option_1' => 'value_1',</div><div> 'option_2' => 'value_2',</div>
<div> // etc</div><div> );</div><div> return $defaults;</div><div>}</div><div><br></div><div>function themeslug_get_options() {</div><div> return array_merge( themeslug_get_option_defaults(), get_option( 'theme_themeslug_options', array() ) );</div>
<div>}</div><div><br></div><div>This function will automagically use either user-defined setting values, or, if the user has not set a value, will fall back to the Theme-defined defaults.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Jun 23, 2014 at 1:10 PM, Alex Lizar <span dir="ltr"><<a href="mailto:lizarweb@gmail.com" target="_blank">lizarweb@gmail.com</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Yes. I m asking to use GPL image to set in my theme with default values .<br><br>Right now in wordpress repo my themes preview has a broken image. ? <br><br>Can you help me out of this ?</div><div class="gmail_extra">
<div>
<br clear="all"><div><div dir="ltr"><div><div><b>Best Regards</b><br></div><b>Weblizar<br></b></div><b>Follow Us: <a href="https://twitter.com/weblizar" target="_blank">Twitter</a> | <a href="https://www.facebook.com/pages/Weblizar/1440510482872657" target="_blank">Facebook</a> | <a href="http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460" target="_blank">Linkedin</a></b> | <b><a href="http://www.pinterest.com/lizarweb/" target="_blank">Pinterest</a></b><br>
</div></div>
<br><br></div><div class="gmail_quote"><div><div>On Mon, Jun 23, 2014 at 11:38 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@uzelac.me" target="_blank">emil@uzelac.me</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">As long as the images are compatible with GPL, of course you can use. Was that the question?</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote"><div><div>On Mon, Jun 23, 2014 at 1:06 PM, Alex Lizar <span dir="ltr"><<a href="mailto:lizarweb@gmail.com" target="_blank">lizarweb@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
<div dir="ltr">No I'm asking for in the theme ?</div><div class="gmail_extra"><div><br clear="all"><div><div dir="ltr"><div><div><b>Best Regards</b><br></div><b>Weblizar<br></b></div><b>Follow Us: <a href="https://twitter.com/weblizar" target="_blank">Twitter</a> | <a href="https://www.facebook.com/pages/Weblizar/1440510482872657" target="_blank">Facebook</a> | <a href="http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460" target="_blank">Linkedin</a></b> | <b><a href="http://www.pinterest.com/lizarweb/" target="_blank">Pinterest</a></b><br>
</div></div>
<br><br></div><div class="gmail_quote"><div><div>On Mon, Jun 23, 2014 at 11:33 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@uzelac.me" target="_blank">emil@uzelac.me</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">For demo, I think :)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 23, 2014 at 12:59 PM, Alex Lizar <span dir="ltr"><<a href="mailto:lizarweb@gmail.com" target="_blank">lizarweb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">OK Thanks, Emil..</div><div class="gmail_extra"><div><br clear="all"><div><div dir="ltr"><div><div>
<b>Best Regards</b><br></div><b>Weblizar<br></b></div><b>Follow Us: <a href="https://twitter.com/weblizar" target="_blank">Twitter</a> | <a href="https://www.facebook.com/pages/Weblizar/1440510482872657" target="_blank">Facebook</a> | <a href="http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460" target="_blank">Linkedin</a></b> | <b><a href="http://www.pinterest.com/lizarweb/" target="_blank">Pinterest</a></b><br>
</div></div>
<br><br></div><div><div><div class="gmail_quote">On Mon, Jun 23, 2014 at 11:26 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@uzelac.me" target="_blank">emil@uzelac.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Of course you can use your own images.</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jun 23, 2014 at 12:55 PM, Alex Lizar <span dir="ltr"><<a href="mailto:lizarweb@gmail.com" target="_blank">lizarweb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Okay.<br>Can I Use my set of images ?</div><div class="gmail_extra"><div><br clear="all"><div><div dir="ltr">
<div><div><b>Best Regards</b><br></div><b>Weblizar<br></b></div><b>Follow Us: <a href="https://twitter.com/weblizar" target="_blank">Twitter</a> | <a href="https://www.facebook.com/pages/Weblizar/1440510482872657" target="_blank">Facebook</a> | <a href="http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460" target="_blank">Linkedin</a></b> | <b><a href="http://www.pinterest.com/lizarweb/" target="_blank">Pinterest</a></b><br>
</div></div>
<br><br></div><div><div><div class="gmail_quote">On Mon, Jun 23, 2014 at 11:19 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I'm not sure I understand what you mean?</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 23, 2014 at 12:45 PM, Alex Lizar <span dir="ltr"><<a href="mailto:lizarweb@gmail.com" target="_blank">lizarweb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Chip B.<div><br></div><div>But If I use default to set my selected images ? Is it Considerable ?</div>
</div><div class="gmail_extra"><div><br clear="all"><div><div dir="ltr"><div><div><b>Best Regards</b><br>
</div><b>Weblizar<br></b></div><b>Follow Us: <a href="https://twitter.com/weblizar" target="_blank">Twitter</a> | <a href="https://www.facebook.com/pages/Weblizar/1440510482872657" target="_blank">Facebook</a> | <a href="http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460" target="_blank">Linkedin</a></b> | <b><a href="http://www.pinterest.com/lizarweb/" target="_blank">Pinterest</a></b><br>
</div></div>
<br><br></div><div><div><div class="gmail_quote">On Mon, Jun 23, 2014 at 11:11 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Ensure your Theme uses sane defaults, and wait for the database to refresh.</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 23, 2014 at 12:37 PM, Alex Lizar <span dir="ltr"><<a href="mailto:lizarweb@gmail.com" target="_blank">lizarweb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What is the best solutions. ?</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><div>
<b><img src="http://weblizar.com/wp-content/themes/home-theme/images/weblizar3.png"><br></b></div><div>
<b>Best Regards<br></b></div><b>Weblizar<br></b></div><b>Follow Us: <a href="https://twitter.com/weblizar" target="_blank">Twitter</a> | <a href="https://www.facebook.com/pages/Weblizar/1440510482872657" target="_blank">Facebook</a> | <a href="http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460" target="_blank">Linkedin</a></b> | <b><a href="http://www.pinterest.com/lizarweb/" target="_blank">Pinterest</a></b><br>
</div></div><div><div>
<br><br><div class="gmail_quote">On Sun, Jun 22, 2014 at 8:43 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">The real issue is saving default values to the database.</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 22, 2014 at 8:27 AM, lizarweb <span dir="ltr"><<a href="mailto:lizarweb@gmail.com" target="_blank">lizarweb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It mean I can MAKE one More Image SLIDE-1.JPG ?<div><br></div><div>OR </div><div><br></div><div>Set <b style="font-size:13px;font-family:arial,sans-serif">$ImageUrl1 ?</b></div>
</div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Jun 22, 2014 at 5:21 PM, Ronnel Angelo <span dir="ltr"><<a href="mailto:ronnel.angelo@gmail.com" target="_blank">ronnel.angelo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Your first slide is looking for a file named <b>slide.jpg</b> which is not found on your images folder. Instead your folder contains a file named <b>home-slide-1.jpg</b></div><div class="gmail_extra"><br><br>
<div class="gmail_quote"><div><div>On Sun, Jun 22, 2014 at 6:52 PM, lizarweb <span dir="ltr"><<a href="mailto:lizarweb@gmail.com" target="_blank">lizarweb@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
<div dir="ltr">Hi,<div><br></div><div>My theme's [ weblizar ] new vesion is Live. I have checked the <a href="http://wp-themes.com/weblizar?TB_iframe=true&width=1239&height=244" target="_blank">Preview </a> on wordpress repo.</div>
<div><br></div><div>Here In the Preview FIRST SLIDE IMAGE is BROKEN . But In my Copy of the Same version It shows properly . How to fix this . ?</div><div><br></div><div>Help .</div></div>
<br></div></div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>