Hi.
I am using theme X / Integrity. when I create a Page there is a published date button (see screendump) This date appears in the google snippet for the site (see screendump) When showing the site source code it shows as seen in screendump. I want that date removed. It is NOT a cache problem it has been like this for years on all computers and browsers i have seen. I have tried some remove date plugins, they makes no diffference. The site is www.akupunkturklinik.dk Hope you can help me.
Regards John Egerup
Hi John,
I just posted a question about this too:
I have another site using a different wordpress theme and it doesn’t have this problem, only with x theme (I’m using ethos).
Hopefully we get this solved!
Hi guys,
Thanks for posting in.
@egerup , it’s not from the theme. The date is added with visually-hidden class which usually only present in brand template of the theme, and it’s added after </article>
close tag. It’s probably a custom code which is intended to be for posts but pages are affected as well. Would you mind providing your custom code that adds that vcard schema?
@jstangl25 Let’s discuss this in your thread , and you may follow our discussion here.
Thanks!
Hi
If I change the theme to Twenty Eleven the lines:
10.30.2017
is no longer shown in the sourcecode for the side.
When i go back to the X theme it comes back. I dont know where that vcard comes in, it is not something i added to the site. I am not sure I know what you mean by “brand template of the theme” I do not have any post on my site, only static pages.
The only code added is via the cusomizr and is:
.entry-meta {
display: none !important;
}
.p-meta {display: none;}
h1 {
font-size: 2.2em;
color: #2F660D;
letter-spacing: 0.01em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.3em;
color: #333;
}
.entry-wrap
{
padding-top: 0px;
}
a:hover {
text-decoration: underline;
}
.minmenu li {
padding-left: 4px;
list-style: none;
}
.minmenu
{
font-weight: bold;
font-size: 0.9em;
}
.x-colophon.bottom
{
background-color: #CACACA;
}
.x-sidebar
{
width: 20%;
}
#my-accordion
{
font-size: 0.9em;
}
.danmark {
font-size: 0.9em;
}
Sorry the code lines turned into a date I wrote was
Blockquote
10.30.2017
Blockquote
Okay here is a picture, I dont know how to prevent the code lines from turning into a date.
Hi there,
Customization is usually added to the active theme, switching to another theme will surely disable the customization too. I’m not saying it’s because of customization, but upon checking the code position, I’m pretty sure it’s not from the theme. Would you mind providing your admin and FTP login credentials in a secure note?
Thanks!
Hi there,
It’s because of x_google_authorship_meta
is present from the old version of X theme. Your current version is 2.0, a bit old. I went ahead and added the fix on this file x\framework\functions\global\social.php
and added this line
if ( is_page() ) return false;
Thanks!
Thank you so much. I am really glad that you could help me. I can see that the date is now gone from the source-code.
and now I will ask google to crawl again.
Thanks
John Egerup
You’re most welcome, John.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.