jeremyers1
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Why are there php tags in functions.php?Got it.
So I am looking through the functions, and I see HTML being added four different ways (see below). Is there one way that is better than the other?
Here are the four ways I see HTML being added:
function name_of_function () { ?> HTML content <?php }
or
function name_of_function () { printf('HTML content'); }
or
function name_of_function () { echo('HTML content'); }
or
function name_of_function ($content) { $content='HTML content'; }
Forum: Developing with WordPress
In reply to: Why are there php tags in functions.php?That makes sense. So this explains why the function begins with the closing ?> php tag. It is closing the php tag that is at the beginning of functions.php so that the function can output HTML? Then the end of the functions re-opens the php, is that right?
Forum: Plugins
In reply to: [AMP Supremacy] Adsense its possible?Any update on this?
Forum: Plugins
In reply to: [Yoast SEO] Date Snippet and Meta Description FailOk. Figured it out.
I had the filters as the very last lines in my functions.php file. When I moved them further up, they started working. Isn’t that strange? Does this mean I have a typo somewhere in my functions.php file that causes anything below it to not be read?
On a related note, there are still dates in the XML Sitemaps. Won’t Google just take the dates from there?
Forum: Plugins
In reply to: [Yoast SEO] Date Snippet and Meta Description FailIt didn’t work…
Even with those lines added to my functions.php, these three lines are still found in the source.
`<meta property=”article:published_time” content=”2017-02-28T08:00:00-08:00″ />
<meta property=”article:modified_time” content=”2017-02-27T21:52:47-08:00″ />
<meta property=”og:updated_time” content=”2017-02-27T21:52:47-08:00″ />’Forum: Plugins
In reply to: [Yoast SEO] Date Snippet and Meta Description FailVery helpful. Thank you.
Forum: Plugins
In reply to: [Yoast SEO] Hide Date and Update Snippet Descriptionamboutwe,
Is there a way to get the following lines removed from the Yoast SEO section of the source code?
<meta property="article:published_time" content="2017-02-28T08:00:00-08:00" /> <meta property="article:modified_time" content="2017-02-27T21:52:47-08:00" /> <meta property="og:updated_time" content="2017-02-27T21:52:47-08:00" />
Forum: Plugins
In reply to: [Yoast SEO] Remove Date from SERP snippetsI cannot get it to work…. but I would love to know how.
Even with the date turned off inside the Yoast SEO plugin, the plugin is still adding these lines to the sourcecode:
<meta property="article:published_time" content="2017-02-28T08:00:00-08:00" /> <meta property="article:modified_time" content="2017-02-27T21:52:47-08:00" /> <meta property="og:updated_time" content="2017-02-27T21:52:47-08:00" />
Does anyone know a way to turn these off?
Forum: Plugins
In reply to: Remove Date Snippet frome SERP’sI am looking to do this too. I have the date option turned off in Yoast, but it shows in Google SERP results. All my content is Evergreen, so I want to remove the dates.
I think Google is picking up the dates from the meta tags added by Yoast SEO:
<meta property="article:published_time" content="2017-02-28T08:00:00-08:00" /> <meta property="article:modified_time" content="2017-02-27T21:52:47-08:00" /> <meta property="og:updated_time" content="2017-02-27T21:52:47-08:00" />
Does anyone know a way to turn these off?
Forum: Everything else WordPress
In reply to: How to remove Date from Meta Description on SERP?Mine is getting picked up from the Yoast SEO plugin, even though I have the “Show date” option turned off.
My source code shows this in the Yoast SEO area:
<meta property="article:published_time" content="2017-02-28T08:00:00-08:00" /> <meta property="article:modified_time" content="2017-02-27T21:52:47-08:00" /> <meta property="og:updated_time" content="2017-02-27T21:52:47-08:00" />
Does anyone know a way to turn these off?
Forum: Plugins
In reply to: [Yoast SEO] Date Showing up in Google SERP DescriptionI am looking to do this too. I have the date option turned off in Yoast, but it shows in Google SERP results. All my content is Evergreen, so I want to remove the dates.
I think Google is picking up the dates from the meta tags added by Yoast SEO:
<meta property="article:published_time" content="2017-02-28T08:00:00-08:00" /> <meta property="article:modified_time" content="2017-02-27T21:52:47-08:00" /> <meta property="og:updated_time" content="2017-02-27T21:52:47-08:00" />
Does anyone know a way to turn these off?
Forum: Plugins
In reply to: [Yoast SEO] Date Snippet and Meta Description FailWhat about removing these three tags which are added by the Yoast SEO plugin?
<meta property=”article:published_time” content=”2017-02-18T16:25:05-08:00″ />
<meta property=”article:modified_time” content=”2017-02-18T16:20:40-08:00″ />
<meta property=”og:updated_time” content=”2017-02-18T16:20:40-08:00″ />- This reply was modified 8 years ago by jeremyers1.
Forum: Plugins
In reply to: [AMP Supremacy] Boolean errorIt appears that the boolean error is gone. I will keep monitoring it though.
Thanks!
Forum: Plugins
In reply to: [AMP Supremacy] Font color changed to blue in AMP?Same problem here. Though my setting says #000000 (black), the fonts are all blue.
This same thing is happening to me, and I am not on WP-Engine. I upload the images, and then in post-editing screen it shows the orange button which says “smush now.”
Although … I don’t actually know if the images are getting smushed on upload or not. How do I check that?