polf0001

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: Date format for blog posts #35830
    polf0001
    Participant

    Thanks. Sorry, I’m afraid it’s not resolved! That’s the php file as it now is, unedited, and the year doesn’t appear.

    Here’s the site: https://www.paper-darts.com/news/

    It’s the little red tab on the blog items – it says SEP 30 – where it should be SEP 30 2020.

    best wishes,

    Nick

    in reply to: Date format for blog posts #35825
    polf0001
    Participant

    Screenshot attached to give line numbers.

    [attachment file=”35826″]

    in reply to: Date format for blog posts #35824
    polf0001
    Participant

    Thanks, Raghanendra. OK: I have had a look at this php. Here it is. Can you tell me what to edit, please? I just want it to add the year to the month and the day.

    <?php

    $format = “M d, Y”;

    ?>

    <span class=”published”>

    <?php echo __(‘On: ‘, ‘extinct’); ?>


    title=”<?php echo sprintf(get_the_time(esc_html__(‘l, F, Y, g:i a’, ‘extinct’))); ?>”><?php echo get_the_time($format); ?>

    </span>

    in reply to: thumbnail slider #24444
    polf0001
    Participant

    That’s OK. Thanks for your help.

    in reply to: thumbnail slider #24430
    polf0001
    Participant

    Thanks for looking. Sorry: that’s not the dropdown I mean. That one is to use a slider as a replacement for the header. But further down the page there’s a section called USE SLIDER AS THUMBNAIL and a dropdown called REVOLUTION SLIDER OPTIONS. There’s a basic slider you can use by adding images one by one, but I wanted to use the revolution slider there, if that’s possible.

    in reply to: thumbnail slider #24407
    polf0001
    Participant
    This reply has been marked as private.
    in reply to: thumbnail slider #24388
    polf0001
    Participant

    Thanks. I have already installed slider revolution and I have sliders and slides all set up and working on various other pages. But I still only have the “default” under “revolution slider options”. I did install slider revolution as a standalone plugin (version 5.2.6) rather than using the version that came bundled with the Extinct theme. Would that make a difference? It’s the same plugin, isn’t it?

    in reply to: page content missing #20574
    polf0001
    Participant
    This reply has been marked as private.
    in reply to: date format for blog posts #20032
    polf0001
    Participant

    Yes, thanks, I think it works with that revised line 72.

    in reply to: date format for blog posts #20014
    polf0001
    Participant

    Actually, this seems to work:

    $published = ‘<span class=”published”><abbr title=”‘ . sprintf(get_the_time(esc_attr__(‘l, F, Y, g:i a’, ‘mo_theme’))) . ‘”><span class=”date updated”>’ . sprintf(get_the_time(‘d’)) . ‘</span><span class=”month”>’ . sprintf(get_the_time(‘M’)) . ‘</span><span class=”date updated”>’ . sprintf(get_the_time(‘Y’)) . ‘</span></abbr></span>’;

    in reply to: date format for blog posts #20013
    polf0001
    Participant

    Sorry: I’ve tried this but it just makes the date disappear altogether! (Is it definitely a ‘d’ and not a ‘j’ by the way?)

    in reply to: date format for blog posts #20001
    polf0001
    Participant

    Thanks for this. Can you give me a bit more help with the php code, please? If I want to add the year, do I change this:

    $published = ‘<span class=”published”><abbr title=”‘ . sprintf(get_the_time(esc_attr__(‘l, F, Y, g:i a’, ‘mo_theme’))) . ‘”><span class=”month”>’ . sprintf(get_the_time(‘M’)) . ‘</span><span class=”date updated”>’ . sprintf(get_the_time(‘d’)) . ‘</span></span></abbr></span>’;

    to this:

    $published = ‘<span class=”published”><abbr title=”‘ . sprintf(get_the_time(esc_attr__(‘l, F, Y, g:i a’, ‘mo_theme’))) . ‘”><span class=”month”>’ . sprintf(get_the_time(‘M’)) . ‘</span><span class=”date updated”>’ . sprintf(get_the_time(‘d’)) . ‘<span class=”year”>’ . sprintf(get_the_time(‘Y’)) . ‘</span></span></abbr></span>’;

    in reply to: changing background color of single page #15969
    polf0001
    Participant

    Thanks so much – that worked perfectly!

    best wishes, Nick

    in reply to: "Related posts" in portfolio entries #10839
    polf0001
    Participant

    Thank you! You’re right – that’s what it was. Sorry for the daft question.

    in reply to: Removing text-shadow #10741
    polf0001
    Participant

    Fantastic – thanks so much: that’s done it!

Viewing 15 posts - 1 through 15 (of 15 total)