options-trading-guy
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Kippis] Google WMT Structured data fixThe original solution I presented above doesn’t correctly add the modified date for structured data purposes – and should be ignored. A slight rewrite of the kippis posted on function is needed (see below):
if (!function_exists('kippis_posted_on')) { function kippis_posted_on() { global $kippis_options; $show_author = $kippis_options['kippis_posts_author_enable'] == 'on'; $show_date = $kippis_options['kippis_posts_date_enable' ] == 'on'; if ($show_author || $show_date) { printf('<span class="sep">%1$s</span>' . '<a href="%2$s" title="%3$s" rel="bookmark"><time class="entry-date" datetime="%4$s" pubdate>%5$s</time></a> (<em class="entry-date updated">modified %10$s</em>)' . '<span class="by-author"> <span class="sep">%6$s</span> <span class="vcard author">' . '<a class="url fn n" href="%7$s" title="%8$s" rel="author">%9$s</a>' . '</span></span>' ,($show_date ? __('Posted on','kippis') . ' ' : '') ,($show_date ? esc_url (get_permalink()) : '') ,($show_date ? esc_attr(get_the_time()) : '') ,($show_date ? esc_attr(get_the_date('c')) : '') ,($show_date ? esc_html(get_the_date()) : '') ,($show_author ? ' ' . __('by','kippis') .' ' : '') ,($show_author ? esc_url (get_author_posts_url(get_the_author_meta('ID'))) : '') ,($show_author ? sprintf (esc_attr__('View all posts by %s','kippis'),get_the_author()) : '') ,($show_author ? esc_html(get_the_author()) : '') ,($show_date ? esc_html(get_the_modified_date()) : '') );
You will still need to modify the end of the content.php file as below:
<?php if ('page' == get_post_type()) : ?> <div class="entry-meta"> <?php kippis_posted_on(); ?> </div><!-- .entry-meta --> <?php endif; ?>
Forum: Themes and Templates
In reply to: [Frontier] Suggested Google WMT Structured Data error fixesHow does one unhide the ‘updated date’ element? (nevermind… found it on the theme options page).
Maybe (as you suggest) that is all that needs to be done vis a vis dates.
Don’t know what to tell you about the author code. Didn’t work as is, does work (for me) after my edit.
Forum: Themes and Templates
In reply to: [Kippis] Google WMT Structured data fixCan remove the date from “…date updated”
code should read:
<time class="entry-date updated" datetime="%4$s" pubdate>%5$s</time>
Also at the end of the content.php file, just before the /footer you can add the following code to clear the date updated error on individual pages (not categories or tags, but individual static content pages).
<?php if ('page' == get_post_type()) : ?> <div class="entry-meta"> <?php kippis_posted_on(); ?> </div><!-- .entry-meta --> <?php endif; ?>
Forum: Themes and Templates
In reply to: [Frontier] Suggested Google WMT Structured Data error fixesI am seeing these specific structured data errors in WMT on my blogs using Frontier (100s of errors on the author and updated fields). Testing actual page code with the edits above now showing no errors.
The date class appears to be redundant, but the updated needs to be I there apparently.
Forum: Themes and Templates
In reply to: [Frontier] Suggested Google WMT Structured Data error fixesMay also need to add the date updated code around line 100 on loop-single and line 116 loop-blog:
<div class="entry-updated date updated">
Forum: Fixing WordPress
In reply to: help – unsure what is causing Garbled tags / infoI was doing a search for a problem I was having similar to yours. Did you manage to fix it?
Thanks
SteveYeh, I’m stuck in the 40s too.
Forum: Fixing WordPress
In reply to: Can't Save Custom MenuThese custom menus don’t work too well…
Forum: Fixing WordPress
In reply to: Can't Save Custom MenuI turned off WP-Super cache, refreshed the page, and bada-bing! the edit I was trying to make to the custom menu was there, even though when saving it I had gotten the same 500 internal server error you guys had seen.
Not sure if that helps anyone here but it worked for me.
Forum: Fixing WordPress
In reply to: Hosting images on subdomains, several errorsI’m struggling with this as well. Very frustrating. It seems that the WP programmers want to keep all the activity in the wordpress directory by tricking the browsers with redirects when what USERS want is to be able to save the darn files where they want them to! On the SUBDIRECTORY!
Forum: Your WordPress
In reply to: My First Plugin for Finance BlogsClean as in “nice” or clean as in “boring”?
Thanks.
The number of links is down to 2, but according to WP.org policy links are not supposed to be added to the public site without asking the site owner’s permission.
This plugin (at NO TIME) requests permission to install the do-follow links in the footer.
I hate to say it but this plugin should be removed from wp.org, at least until it complies with good practice followed by other plugin authors.
Thanks I’ll give it a try. Thanks for a cool program.
Forum: Fixing WordPress
In reply to: Contact Form 7 doesn't work at allWhenever I have used contact form 7 all I have needed to do was simply create a new wordpress page and copy the tiny bit of bracket stuff into the body of the post and click “publish page”
[contact-form 1 "Contact form 1"]
– that’s it usually.Forum: Fixing WordPress
In reply to: Want to alter my home page to a static version.To elaborate slightly on alchymyth’s post:
You basically just need to create the static page you want for your home page like you would normally create a page (NOT a POST!).
Then go into your “reading” settings and set the home page as a static page by clicking the radio button and selecting the page you created earlier from the pages listed in the drop down box.