Ilse
Forum Replies Created
-
Forum: Plugins
In reply to: [Tabby Responsive Tabs] Tabs not clickable, not alignedTurned out it’s the WP admin bar that the source of the conflict.
Thanks for the reply. Now, I can use it anyhow.Forum: Fixing WordPress
In reply to: Custom sidebar – Place titles of the 5 latest postsecho "<div><ul>"; echo '<li><a href="'; the_permalink(); echo '">'; the_title(); echo '</a></li>'; echo "</ul></div>";resolved
Nobody knows the answer to this?
Forum: Hacks
In reply to: Add a Custom Field within a pluginStill no luck. It does open a new browser tab, like I hoped,
but there’s no link. The page turns to about:blank.Apparently it doesn’t fetches the custom value. Could it be that it’s outside the loop? The code is a tweak to a php document of a plugin (that resides in the wp_content/plugin folder.)
I’ve read about the following that might help:
<?php global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($postid, 'Your-Custom-Field', true); wp_reset_query(); ?>except when I change this into
global $wp_query; $postid = $wp_query->post->ID; $link = get_post_meta( $post->ID, "LINK", true ); $onclick = "window.open( '$link' )"; $title = '<a onClick="' . $onclick . '" href="#' . $id . '">' . $title . '</a>'; wp_reset_query();It returns the same result (it opens a blank tab)
Any idea?
Forum: Hacks
In reply to: Add a Custom Field within a pluginI gave it a try, but it doesn’t work unfortunately.
Looking in the HTML source of the single post, the code doesn’t transform into the link. It stays exactly the same. So in the HTML code it says:
<a onClick="window.open(' . echo get_post_meta($post->ID, "LINK", true); . ')" .....Is it because it’s not in the loop?
Forum: Everything else WordPress
In reply to: Predating posts in WP bad for seo?Jeez, that was a genuine question. I was thinking of starting a completely new site on the same domain if necessary so that’s why I asked that. Can I thank you for your answer or does that also count as post bump?
Forum: Everything else WordPress
In reply to: Predating posts in WP bad for seo?Yeah thats what I meant indeed. But the problem is I already did a lot of predating. What do you think, if I don’t do it anymore from now on and work with sticky posts it will help or the damage is already done?