Virtuallaw
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] How to manually add WP SEO Description to og:description?Tried this, too.
<meta property="og:description" content="<?php $og_object = WPSEO_Frontend::metadesc(false); echo $og_object; ?>" />
Works on home (static page) and posts, but triggers a FATAL ERROR on categories and pages:
<meta property="og:description" content="<br /> <b>Fatal error</b>: Using $this when not in object context in <b>/home/content/15/8771615/html/lawoffice_at/wp-content/plugins/wordpress-seo/frontend/class-frontend.php</b> on line <b>1136</b><br />
Forum: Plugins
In reply to: [oik-nivo-slider] Slider not working on archiveAddional information:
it seems that on the home-page the slider works only if it is within the category of the first post, while on the archive pages it is exactly the opposite way…Forum: Plugins
In reply to: [oik-nivo-slider] Slider not working on archiveMaybe it’s better to ask this question ??
I’d like to integrate an oik nivo slider on all my category pages. The slider should show the first 5 newest posts of the current category. How does this work?
if (is_archive()) { ?>
<div id=”banner”><?php echo do_shortcode(‘[nivo…
what is needed here?
…]’); <? php }
Forum: Plugins
In reply to: [WP Subdomains (Revisited)] Subdomains not working with GoDaddyI havent tried it myself so far, but I think you may not create a new folder when you create the subdomain.
Choose “create or select a folder” and select “/” (if your wordpress installation is in the root of your domain).
Forum: Fixing WordPress
In reply to: GoDaddy superslowLinux 4GH Deluxe
self installed
Using Super Cache, Minifier + only a few most popular pluginsYes, there is a site ??
Ok, just had good luck and reached a GoDaddy support employee who first sayed that the site works perfect but then had the genius idea to try it from a network that is outside GoDaddy: they have a broken proxy.
Seems that I’ve at least chances to get the most urgent issue solved. Nevertheless the service will most likely stay slow. So I am still curious for excellent wordpress hosters (I don’t mind paying a few bucks more or less – I simply want a fast server + an excellent hotline in case of troubles.)
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] contact form 7 – SSL problemProblem solved – somehow it was suddenly possible to open the website via http. force_ssl was lost. So it called the https page from http …
I had the same problem.
Write permissions at \wp-content\plugins\really-simple-captcha\tmp\ solved the problem.EDIT:
No it didn’t. Sry.
But deleting and reinstalling the really-simple-captcha plugin did the job.I deactivated all other plugins – no results. The content calculation problem stays.
Somehow the “show only older posts” problem vanished… no idea why…
So the only problem that still exists is that it seems that the content of posts / pages isn’t calculated if YARPP is used on pages.
You are welcome ?? Thanks for the great plugin!
If “only show older posts” is activated, posts show only posts that are older than the current post. If its deactivated posts shows all posts. OK.
But Pages seem to show only posts that are older than the page, no matter if “only show older posts” is set or not.
If a page exists and one posts a 100% copy of the page as a post, it won’t show up as a related post on the page. If a change the publish date of the post so that the post publish date is before the page publish date the post shows up.Greetings Peter
One more question:
What is the purpose of the “show post and pages together” (I use the german version) option?
It seems that this option was created to make posts show all entries instead of posts only.
Wouldn’t it be a way cleaner solution simply auto-inlude related_entries instead of related_posts if this option is used instead of giving related_entries, related_posts and related_pages the same results?
Greetings Peter
Ooooooook!
Solved the mystery ??
1) Yarpp only shows posts & pages that are older than the page if it’s used on pages – no matter if the “only show older posts” checkbox is set or not (which I hadn’t set).
2) Yarpp on pages seems to calculate extremly different than on posts. It seems to calculate only headline, categories and tags, but not content if used on pages.
Greetings Peter
It’s the same for the “Kontakt” Page. It seems to be a general page problem
More Info:
It’s weird ??
1) The page has 2 relevant posts. I can make these entries more or less relevant by adding or removing categories and tags. adding content or changing the headline doesn’t have any influence on the weight of these posts (in the “service” page – in posts everything has an influence as expected).
2) Those entries are the 2 oldest posts.
3) I can’t make any newer post relevant no matter how hard I try.OK, this solves the pages backend problem:
function yarpp_add_metabox() { if (function_exists('add_meta_box')) { add_meta_box( 'yarpp_relatedposts', __( 'Related Posts' , 'yarpp'), 'yarpp_metabox', 'post', 'normal' ); add_meta_box( 'yarpp_relatedposts', __( 'Related Posts' , 'yarpp'), 'yarpp_metabox', 'page', 'normal' ); } }
Maybe it can be solved better or even as an option in the YARPP options page, but my php skills arent good enough for this ??
Greetings, Peter