Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter gponym

    (@gponym)

    Submitted feature request to the Jetpack forum on wordpress.org.

    I assume at this point that action by Jetpack maintainers is required but may be mistaken. I’m new to WP and know little of PHP or JSON, so I looked at some source on Jetpack github without it telling me anything about how incoming data is parsed or shortcode data is utilized in calls to WP.

    Ideally, one could readily add support in a file or two at Jetpack but I was unable to figure out where to make changes.

    Thread Starter gponym

    (@gponym)

    Thanks for all replies. Cleaning up, marking resolved.

    Thread Starter gponym

    (@gponym)

    I submitted an informal feature request to the Jetpack team asking them to add an option to allow setting publication date in their email to post tool.

    Thread Starter gponym

    (@gponym)

    Adding on….

    This might state the main question more clearly: We are rebuilding a site from scratch. We are adding posts that had been created over a period of several years on the former site. We add these posts via Jetpack’s email to post facility. These emails use shortcodes to set category, tags and title. The post date defaults to the current date.

    When emailing the post, I’d like to set the post date to the date on which the post was originally published, which might be in 2014 or 2015, not the current date. I am hoping there is some way to do this, perhaps using shortcodes.

    I know we can later quick edit each post and set the date, but it would be so much more efficient to set it in the email.

    I don’t know of any other email to post facility.

    Thread Starter gponym

    (@gponym)

    Oops, have now marked as resolved.

    Thread Starter gponym

    (@gponym)

    Luis:

    Success with the following:

    /* suppress entry title on homepage */
    .home .entry-title { display:none !important; }

    I discovered how to adjust the Endurance cache auto-installed by Bluehost to (supposedly) not cache: set to level 0. I do not yet know if this works as expected but, for whatever reason, I was able to prove the above code works this morning.

    Many thanks.

    Thread Starter gponym

    (@gponym)

    Luis, thanks. I tried both without luck. Each time after uploading style.css to the temp site provided by bluehost, I log out of bluehost, then log back in, and then log back in to WordPress.

    The CSS may be just fine. I can’t be certain I’m not being stymied by the potentially several caches, and I don’t know where all the caches might be besides at bluehost and at my browser. I’ve cleared the browser cache (Chrome) and restarted it but that did not help.

    At this point I must stop for at least 48 hours. I’ll try to figure out how to set the caching parameters in the admin menu provided by bluehost.

    If you have any other ideas, thanks in advance for sharing.

    My child theme has only two files: style.css and functions.php. Here are their complete contents, downloaded just now from the site:

    – style.css –

    /*
    Theme Name:  Twenty Sixteen Child
    Description: Twenty Sixteen Child Theme
    Author:  gp
    Template: twentysixteen
    Version: 1.0.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
    Text Domain: twentysixteen-abchild
    */
    
    /* Test inclusion of this style sheet */
    p { color: brown; }
    
    .home h1.entry-title { display:none !important; }
    

    – functions.php –

    <?php
    /*
     gp 1802xx  load child and parent stylesheets
    */
    function my_theme_enqueue_styles() {
    
        $parent_style = 'twentysixteen-style';
    
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style ),
            wp_get_theme()->get('Version')
        );
    }
    add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
    ?>
    Thread Starter gponym

    (@gponym)

    Steve:

    The site is not published, else I’d have shared a link earlier. a I’m working on bluehost which provides a “temp.domains” scratchpad URL. Are those URLs both publicly shareable and secure to do so?

    Thread Starter gponym

    (@gponym)

    Thanks, Steve.

    (This accidentally got posted in “Fixing WordPress”, I just now noticed. Should a question like this really go elsewhere, like in the “Developing…” forum?)

    Thread Starter gponym

    (@gponym)

    Adding on: The Dashboard is a bit confusing to a newbie since one can affect both content (pages, posts, comments, etc) and presentation. I understand that content/presentation distinction in the abstract but I’m still too new to always be able to draw a line between when to use the Dashboard in the Parent theme and when not to do so.

    Of course, I won’t be modifying any of the Parent theme template files–I would do all that in the Child. And I love the power offered by the Child styles.css file.

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