Forum Replies Created

Viewing 15 replies - 1 through 15 (of 35 total)
  • Thread Starter delta123

    (@delta123)

    This was not a question, just a post to let users know, that your service could become a very expensive experience, when there is some free options out there, maybe not as good, but much better option then a huge unexpected bill.

    I personally could not afford to use your service, and would not even attempt to try to use the so call free 500 conversions per month, from what I can gather people often end up with huge bills, whilst believing they have not gone over the 500 free monthly conversion.

    If you do want answer something, please answer, what measures do you have in place to prevent someone from being charged after the 500 free monthly conversions are reached?

    So you know, I would be happy to use your service, if i had to buy tokens to use the service, this would give me control of what I can spend and not run an unexpected bill, like others appear to be doing regularly.

    Thread Starter delta123

    (@delta123)

    Interesting, so they recommend using wp super cache over w3 total cache.
    However, if w3 total cache is really needed, e.g. for CDN, etc, then the following settings are their recommendations:

    Recommended Settings

    Page Cache: Enable
    Page Cache Method: Disk (Enhanced)
    Database Cache: Disabled
    Object Cache: Disabled

    Does anyone else have any personal recommendation for w3 total cache best setting to use in a shared hosting service?

    I have the same issue when i have js minified turn on in autoptimize, even if i exclude combined.min.js.

    Thread Starter delta123

    (@delta123)

    I think i have partially resolved how this is done.
    Probably not the right way to do it…
    But I manage to leave the code in the line before the closing </body> tag, this is located in the theme footer.php file.

    <script type = "text/javascript">
    function loadStyleSheet(src) {
        if (document.createStyleSheet) document.createStyleSheet(src);
        else {
            var stylesheet = document.createElement('link');
            stylesheet.href = src;
            stylesheet.rel = 'stylesheet';
            stylesheet.type = 'text/css';
            document.getElementsByTagName('head')[0].appendChild(stylesheet);
        }
    }
    loadStyleSheet("style.css");
    loadStyleSheet("style1.css");
    loadStyleSheet("style2.css");
    /* etc, loadStyleSheet("style3.css"); */
    </script>

    With this and another tweak i made to defer JS, my Google pagespeed insight score has gone up from around 49 to 69 for both mobile & desktop tests.

    Thread Starter delta123

    (@delta123)

    Simplified version:

    How can the function/code below be used/adapted to work on my WordPress website?

    function loadStyleSheet(src){
    if (document.createStyleSheet) document.createStyleSheet(src);
    else {
    var stylesheet = document.createElement('link');
    stylesheet.href = src;
    stylesheet.rel = 'stylesheet';
    stylesheet.type = 'text/css';
    document.getElementsByTagName('head')[0].appendChild(stylesheet);
    }
    }

    I would be nice if there was a 2 minute video demo, how you use it, which we could look at.

    Thank you for the wpfaster link above, just had a good look around but I’m not impressed with it. I have seen to many affiliate programs in my time to believe in any such solutions. If i needed expertise help I would go to: fiverr.com

    In this case, I want to be able to resolve such issues myself, every time I make an edit, i do not want to have to pay mega bucks for some competitor marketer out there to clear my website cache.

    All the best.

    This plugin sounds great but needs a tutorial how to use it, if i may suggest, there is a free tool called jing out there that allows you to quickly capture a movie of your screen, you do not even need to talk, can you please create a short movie, which will show non developers through the plugin implementation process, of checking with google pagespeed insights which css/js are blocking, then how to do your bit step by step with your plugin to fix such issues.

    Also I found description of what the plugin settings allow you or require you to do confusing, can you explain it more clear, is there a way to do things just manually and alternatively is there another way to automate the whole thing, or do you need to do both in order to use the plugin? A short how to tutorial probably would clear this confusion.
    Hope that makes sense.

    not sure if helps but mine after installation but no configuration 1050bytes in size…

    Thread Starter delta123

    (@delta123)

    dmonnier, are you following this support tread?

    Can you please help me implement this requirement with your plugin?

    basically i just need to pass the expiry date value which is stored in a variable to your plugin, this code i put together can retrieve the date value and display it in a text widget:

    <?php
    $expiryDATE = get_post_meta(get_the_ID(), “clpr_expire_date”, true);
    echo ‘Expiry date : ‘.$expiryDATE;
    ?>

    If I don’t hear back from you, I and everyone here that is following this thread, can assume that this coding request is well above your coding skills… meanwhile I will continue to wait to hear back from you.

    Thread Starter delta123

    (@delta123)

    Thank you Elliot,

    Didn’t work but at least you have confirmed that I’m not that far off from a possible resolution.

    I will continue to try to find a solution and if i do i will come back here and updated this thread with my results.

    Thread Starter delta123

    (@delta123)

    dmonnier, thanks for pointing that out, in case you have not been following my other postings trying to resolve my issue, your plugin still does not work with my child theme and you have not provided me solution, I’m prepared to ditch my child theme if you can get your plugin to work in the same way as i described above, is essential that i pass the expiry date parameter to the countdown plugin.

    how can i do this with your plugin?

    My code above partially works but as explained i cannot get part of the the date held in the variable to work… in the case of your plugin, I don’t have any code to put into my text or php widget, please provide me the exact code for me to use.

    Thank you

    If the above request is above your programming knowledge please just say so and I won’t pursue this any further with you.

    Thread Starter delta123

    (@delta123)

    Eliot, I do have another query relating to the code above (but not related to the original scenario behind this post), I guess i’m potentially de-railing the thread, but maybe not, I’m wondering if you would know how to handle/code the following:

    Let me explain, to execute a [shortcode] in php, i believe it can be done like so:
    <?php
    echo do_shortcode(‘[shortcode]optional parameters[/shortcode]’);
    ?>

    So, in my case would look to pass an optional date parameter to my shortcode, like so:
    <?php
    echo do_shortcode(‘[myShortcode timetext=”2014-12-31″] Will be the expiry date![/myShortcode]’);
    ?>

    >> 2014-12-31 Will be the expiry date!
    (i know, the logic is not totally correct because is not an output, is simply to demonstrate that the parameter needs to take a date in that format)

    So, I been trying without success to pass the date value held in the variable to a shortcode, but cannot get it to work, do you happen to know how could i pass the value held in my variable to a shortcode? using the example code above do you happen to know how can i replace the shortcode date parameter with the actual variable?

    I was thinking something alone the following lines:
    <?php
    $expiryDATE = get_post_meta(get_the_ID(), “clpr_expire_date”, true);
    echo ‘Expiry date : ‘.$expiryDATE;
    echo do_shortcode(‘[myShortcode timetext=”.$expiryDATE.”] Will be the expiry date![/myShortcode]’);
    ?>

    My expected output then would be something along the following lines:

    Expiry date : 2014-12-31 Will be the expiry date!

    But the date value inside the shortcode seems to always be just zeros: 0000:00:00

    Do you have any precise tips as to how i may be able to resolve this?

    If you could crack this code I will share with you the cool end result which i’m miserably trying to implement.

    Thank you

    Thread Starter delta123

    (@delta123)

    Hi,

    While not directly related to this questions, I just wanted to share some code I manage to put together that could be used to copy a value from a custom field, in this case the custom field is called: clpr_expire_date

    <?php
    $expiryDATE = get_post_meta(get_the_ID(), “clpr_expire_date”, true);
    echo ‘Expiry date : ‘.$expiryDATE;
    ?>
    Example Output>> Expiry date : 2014-12-31

    I guess with this code sample one could probably easily adapt it to write the value held in the variable to another custom field.

    Thread Starter delta123

    (@delta123)

    I think I made some progress but still cannot get it to work.

    The following code:

    <?php
    $expiryDATE = get_post_meta(get_the_ID(), “clpr_expire_date”, true);
    echo ‘Expiry date : ‘.$expiryDATE;
    echo do_shortcode(‘[jcountdown timetext=”.$expiryDATE.” timezone=”1″ style=”flip” color=”black” width=”0″ textgroupspace=”6″ textspace=”0″ reflection=”false” reflectionopacity=”10″ reflectionblur=”0″ daytextnumber=”3″ displayday=”false” displayhour=”true” displayminute=”true” displaysecond=”true” displaylabel=”true” onfinishredirecturl=”http%3a%2f%2flocalhost%2f”]2015/8/1 15:31:20[/jcountdown]’);
    ?>

    is running in the widget but the clock is set to 00:00:00

    Any tips how to get this resolved?

    Thread Starter delta123

    (@delta123)

    It seems like the issue occurs with the child theme but bot the parent theme.

    The theme itself seems to already use jQuery elsewhere.
    And one of the options theme offers is the ability to pull jQuery from the google CDN. Also I believe the version in the Google CDN is different from that shipped with the theme. Either way it works with parent theme but not child theme.

Viewing 15 replies - 1 through 15 (of 35 total)