[theme-reviewers] Theme Update Preview

Alex Lizar lizarweb at gmail.com
Sun Jun 29 17:16:25 UTC 2014


hi chip,
updated this in my new version . But the preview has still broken img need
help ,urgent help.

*Best Regards*

*Weblizar*
*Follow Us: Twitter <https://twitter.com/weblizar> | Facebook
<https://www.facebook.com/pages/Weblizar/1440510482872657> | Google+
<https://plus.google.com/u/0/100920322672659513870/> | Linkedin
<http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460>*
| *Pinterest
<http://www.pinterest.com/lizarweb/>*


On Tue, Jun 24, 2014 at 12:26 AM, Chip Bennett <chip at chipbennett.net> wrote:

> 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.
>
> The easiest way is to write two functions: one that returns an array of
> default values, and another that returns an array of settings.
>
> function themeslug_get_option_defaults() {
>     $defaults = array(
>         'option_1' => 'value_1',
>         'option_2' => 'value_2',
>         // etc
>     );
>     return $defaults;
> }
>
> function themeslug_get_options() {
>     return array_merge( themeslug_get_option_defaults(), get_option(
> 'theme_themeslug_options', array() ) );
> }
>
> 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.
>
>
> On Mon, Jun 23, 2014 at 1:10 PM, Alex Lizar <lizarweb at gmail.com> wrote:
>
>> Yes. I m asking to use GPL image to set in my theme with default values .
>>
>> Right now in wordpress repo my themes preview has a broken image. ?
>>
>> Can you help me out of this ?
>>
>> *Best Regards*
>>
>> *Weblizar*
>> *Follow Us: Twitter <https://twitter.com/weblizar> | Facebook
>> <https://www.facebook.com/pages/Weblizar/1440510482872657> | Linkedin
>> <http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460>*
>> | *Pinterest <http://www.pinterest.com/lizarweb/>*
>>
>>
>> On Mon, Jun 23, 2014 at 11:38 PM, Emil Uzelac <emil at uzelac.me> wrote:
>>
>>> As long as the images are compatible with GPL, of course you can use.
>>> Was that the question?
>>>
>>>
>>> On Mon, Jun 23, 2014 at 1:06 PM, Alex Lizar <lizarweb at gmail.com> wrote:
>>>
>>>>  No I'm asking for in the theme ?
>>>>
>>>> *Best Regards*
>>>>
>>>> *Weblizar*
>>>> *Follow Us: Twitter <https://twitter.com/weblizar> | Facebook
>>>> <https://www.facebook.com/pages/Weblizar/1440510482872657> | Linkedin
>>>> <http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460>*
>>>> | *Pinterest <http://www.pinterest.com/lizarweb/>*
>>>>
>>>>
>>>> On Mon, Jun 23, 2014 at 11:33 PM, Emil Uzelac <emil at uzelac.me> wrote:
>>>>
>>>>> ​For demo, I think :)​
>>>>>
>>>>>
>>>>> On Mon, Jun 23, 2014 at 12:59 PM, Alex Lizar <lizarweb at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> OK Thanks, Emil..
>>>>>>
>>>>>> *Best Regards*
>>>>>>
>>>>>> *Weblizar*
>>>>>> *Follow Us: Twitter <https://twitter.com/weblizar> | Facebook
>>>>>> <https://www.facebook.com/pages/Weblizar/1440510482872657> | Linkedin
>>>>>> <http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460>*
>>>>>> | *Pinterest <http://www.pinterest.com/lizarweb/>*
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 23, 2014 at 11:26 PM, Emil Uzelac <emil at uzelac.me> wrote:
>>>>>>
>>>>>>> Of course you can use your own images.
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 23, 2014 at 12:55 PM, Alex Lizar <lizarweb at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Okay.
>>>>>>>> Can I Use my set of images ?
>>>>>>>>
>>>>>>>> *Best Regards*
>>>>>>>>
>>>>>>>> *Weblizar*
>>>>>>>> *Follow Us: Twitter <https://twitter.com/weblizar> | Facebook
>>>>>>>> <https://www.facebook.com/pages/Weblizar/1440510482872657> | Linkedin
>>>>>>>> <http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460>*
>>>>>>>> | *Pinterest <http://www.pinterest.com/lizarweb/>*
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jun 23, 2014 at 11:19 PM, Chip Bennett <
>>>>>>>> chip at chipbennett.net> wrote:
>>>>>>>>
>>>>>>>>> I'm not sure I understand what you mean?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Jun 23, 2014 at 12:45 PM, Alex Lizar <lizarweb at gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Thanks Chip B.
>>>>>>>>>>
>>>>>>>>>> But If I use default to set my selected images ? Is it
>>>>>>>>>> Considerable ?
>>>>>>>>>>
>>>>>>>>>> *Best Regards*
>>>>>>>>>>
>>>>>>>>>> *Weblizar*
>>>>>>>>>> *Follow Us: Twitter <https://twitter.com/weblizar> | Facebook
>>>>>>>>>> <https://www.facebook.com/pages/Weblizar/1440510482872657> | Linkedin
>>>>>>>>>> <http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460>*
>>>>>>>>>> | *Pinterest <http://www.pinterest.com/lizarweb/>*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 23, 2014 at 11:11 PM, Chip Bennett <
>>>>>>>>>> chip at chipbennett.net> wrote:
>>>>>>>>>>
>>>>>>>>>>> Ensure your Theme uses sane defaults, and wait for the database
>>>>>>>>>>> to refresh.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 23, 2014 at 12:37 PM, Alex Lizar <lizarweb at gmail.com
>>>>>>>>>>> > wrote:
>>>>>>>>>>>
>>>>>>>>>>>> What is the best solutions. ?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> *Best Regards*
>>>>>>>>>>>>
>>>>>>>>>>>> *Weblizar*
>>>>>>>>>>>> *Follow Us: Twitter <https://twitter.com/weblizar> | Facebook
>>>>>>>>>>>> <https://www.facebook.com/pages/Weblizar/1440510482872657> | Linkedin
>>>>>>>>>>>> <http://in.linkedin.com/pub/weblizar-premium-themes-plugins/99/3bb/460>*
>>>>>>>>>>>> | *Pinterest <http://www.pinterest.com/lizarweb/>*
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, Jun 22, 2014 at 8:43 PM, Chip Bennett <
>>>>>>>>>>>> chip at chipbennett.net> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> The real issue is saving default values to the database.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, Jun 22, 2014 at 8:27 AM, lizarweb <lizarweb at gmail.com>
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> It mean I can MAKE one More Image SLIDE-1.JPG ?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> OR
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Set *$ImageUrl1 ?*
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sun, Jun 22, 2014 at 5:21 PM, Ronnel Angelo <
>>>>>>>>>>>>>> ronnel.angelo at gmail.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Your first slide is looking for a file named *slide.jpg* which
>>>>>>>>>>>>>>> is not found on your images folder. Instead your folder contains a file
>>>>>>>>>>>>>>> named *home-slide-1.jpg*
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sun, Jun 22, 2014 at 6:52 PM, lizarweb <
>>>>>>>>>>>>>>> lizarweb at gmail.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  Hi,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> My theme's [ weblizar ] new vesion is Live. I have checked
>>>>>>>>>>>>>>>> the Preview
>>>>>>>>>>>>>>>> <http://wp-themes.com/weblizar?TB_iframe=true&width=1239&height=244> on
>>>>>>>>>>>>>>>> wordpress repo.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Here In the Preview FIRST SLIDE IMAGE is BROKEN . But In my
>>>>>>>>>>>>>>>> Copy of the Same version It shows properly . How to fix this . ?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Help .
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> theme-reviewers mailing list
>>>>>>>>>>>>>>>> theme-reviewers at lists.wordpress.org
>>>>>>>>>>>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> theme-reviewers mailing list
>>>>>>>>>>>>>>> theme-reviewers at lists.wordpress.org
>>>>>>>>>>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> theme-reviewers mailing list
>>>>>>>>>>>>>> theme-reviewers at lists.wordpress.org
>>>>>>>>>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> theme-reviewers mailing list
>>>>>>>>>>>>> theme-reviewers at lists.wordpress.org
>>>>>>>>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> theme-reviewers mailing list
>>>>>>>>>>>> theme-reviewers at lists.wordpress.org
>>>>>>>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> theme-reviewers mailing list
>>>>>>>>>>> theme-reviewers at lists.wordpress.org
>>>>>>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> theme-reviewers mailing list
>>>>>>>>>> theme-reviewers at lists.wordpress.org
>>>>>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> theme-reviewers mailing list
>>>>>>>>> theme-reviewers at lists.wordpress.org
>>>>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> theme-reviewers mailing list
>>>>>>>> theme-reviewers at lists.wordpress.org
>>>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> theme-reviewers mailing list
>>>>>>> theme-reviewers at lists.wordpress.org
>>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> theme-reviewers mailing list
>>>>>> theme-reviewers at lists.wordpress.org
>>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> theme-reviewers mailing list
>>>>> theme-reviewers at lists.wordpress.org
>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> theme-reviewers mailing list
>>>> theme-reviewers at lists.wordpress.org
>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>>
>>>>
>>>
>>> _______________________________________________
>>> theme-reviewers mailing list
>>> theme-reviewers at lists.wordpress.org
>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>
>>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140629/1c513c9b/attachment-0001.html>


More information about the theme-reviewers mailing list