Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Forum: Plugins
    In reply to: [AMP] Event Tracking?
    Thread Starter tompkinsjournal

    (@tompkinsjournal)

    Thanks, James. Google still says amp.dev is unavailable. I’ll raise the issue with the Site Kit devs.

    Forum: Plugins
    In reply to: [AMP] Event Tracking?
    Thread Starter tompkinsjournal

    (@tompkinsjournal)

    Thanks, James. A couple issues: The AMP resource pointing to amp.dev can’t be reached. I’ve used Google’s Site Kit with Newspack, but after “Sign into Google” and giving my email address, Google tells me the plugin was already authorized and then goes back to the “Sign in with Google” screen (I know that is off-topic for AMP.)

    Thread Starter tompkinsjournal

    (@tompkinsjournal)

    Thanks for the response. All of the suggested plugins rewrite the URL to include “/go”, or something similar.

    Google has some advice, but it is for individual URLs set manually.

    I’d like to create a post, specify the query string (such as ?pub=pub1), providing a URL like this: example.com/article_slug?pub=pub1 .

    Thread Starter tompkinsjournal

    (@tompkinsjournal)

    James: I’m referring to the former – the “edit” button on the front-end.

    Update: I have found a plugin that gives me the option to use either the “classic” editor or Gutenberg depending on taxonomy. “Gutenberg Manager” (unCommons Team) lets me disable the Gutenberg editor for Pages. This makes Gutenberg a workable editor for Posts. (Perhaps a ‘disable taxonomy’ option could be added to Gutenberg.)

    Thread Starter tompkinsjournal

    (@tompkinsjournal)

    My site’s toolbar doesn’t look that way. There is only the “Edit Page” option – which (if Gutenberg is active) goes to the Gutenberg editor. Some pages are okay with Gutenberg, but some don’t. For instance, I use Avada, which uses its own custom editor to display the code correctly.

    Thread Starter tompkinsjournal

    (@tompkinsjournal)

    I corrected the image issue by disabling the child theme overriding the template-parts/posts/content.php.

    However, disabling the over-ridden content.php also removes my addition of excerpts to the posts. For instance, here is the original content.php code from 2017:

    <div class=”entry-content”>
    <?php

    /* translators: %s: Name of current post */
    the_content( sprintf(
    __( ‘Continue reading<span class=”screen-reader-text”> “%s”</span>’, ‘twentyseventeen’ ),
    get_the_title()
    ) );
    </div>

    And here was my edited version:

    <div class=”entry-content”>
    <?php

    /* translators: %s: Name of current post */
    the_excerpt();
    get_the_title();
    </div>

    Where is my edit falling down?

Viewing 6 replies - 16 through 21 (of 21 total)