If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
March 20, 2014 at 2:32 pm #240699
I have a problem with the “Post Format” Link.
When somebody come to a link-post he is coming to the post and have to click to the title to get to the link. Is it possible that the post redirect automatically to the link?
So everybody how comes to the single-blog-post gets redirect to the given link?March 21, 2014 at 5:17 pm #241265
I have now added
<meta http-equiv='refresh' content='0; URL=$link'>to includes/helper-post-format.php (
Is it possible to add
<meta http-equiv='refresh' content='0; URL=$link'>in the head?March 22, 2014 at 3:18 am #241493
The link formatted posts should automatically link to the specified url. Make sure that you added the link on the text editor like this for example: http://www.kriesi.at
IsmaelMarch 22, 2014 at 11:49 am #241582
In the grid-view the links are ok, but in the search results and rss-feeds you come to the single-post. so a user have to click twice to come to the extern site…March 25, 2014 at 12:04 am #242410
or is there a possibility with the “post format link” to make extern links in the search-results, rss-feeds… ?March 26, 2014 at 9:29 am #243213
Open up wp-content/themes/enfold/includes/loop-search.php and replace:
$post_format = get_post_format() ? get_post_format() : 'standard';
$current_post = array(); $current_post['the_id'] = get_the_ID(); $current_post['post_format'] = get_post_format() ? get_post_format() : 'standard'; $current_post['content'] = get_the_excerpt(); $current_post['content'] = empty($current_post['content']) ? strip_shortcodes( get_the_content() ) : $current_post['content']; $current_post['title'] = get_the_title(); $current_post = apply_filters( 'post-format-'.$current_post['post_format'], $current_post ); extract($current_post);
echo "<h2 class='post-title entry-title'><a title='".the_title_attribute('echo=0')."' href='".get_permalink()."' $markup>".get_the_title()."</a></h2>";
echo "<h2 class='post-title entry-title'><a title='".the_title_attribute('echo=0')."' href='".get_permalink()."' $markup>".$title."</a></h2>";
PeterApril 18, 2014 at 5:15 pm #253244
Hi, I’m following up on this “Post Format” Link post, the link is working fine on the title of the post but also linking to the post itself on the Post Thumbnail.April 22, 2014 at 7:39 am #254205
You must be logged in to reply to this topic.