Franz92
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Analytics for WooCommerce] Facebook Pixel Support?Patrick, it would be great to add that!
Forum: Plugins
In reply to: [Google Analytics for WooCommerce] Demographic SettingThis would be of interest to me, too.
Forum: Fixing WordPress
In reply to: class-wp-walker.php gobbles up a warning – WP 4.0Hi!
After updating the default themes the warning ceases to exist. I am in touch with the people of Woothemes (Canvas). This will solve the problem.Sorry for wasting your time – that was a beginner error.
Forum: Fixing WordPress
In reply to: 4 Websites sharing the same blog contentmarkarma, everyone got a different domain and they all have different blog content.
Forum: Fixing WordPress
In reply to: 4 Websites sharing the same blog contentThank you very much catacaustic! I will do as you suggested. You were a great help and I am pleased to have met you!
Forum: Fixing WordPress
In reply to: 4 Websites sharing the same blog contentHi!
The 4 people are 4 different lawyers with different focus of work which share an office. They each want their website to have a different branding but want the blog to have the same content – so if one doesn’t write a month or two it still seems busy.I am starting to wonder if I should just convince them not to share a blog …
Forum: Plugins
In reply to: [Simple Ads Manager] Excact Recognization of CrawlersHi!
I just want to state that the detection of impressions improved. It is not any more wrong by 10 times, but instead counts 2 times less impressions than the site really has.Forum: Themes and Templates
In reply to: [Montezuma] Montezuma's Breadcrumbs produce Fatal errorThank you very much, CrouchinBruin 🙂
Forum: Themes and Templates
In reply to: [Montezuma] Montezuma's Breadcrumbs produce Fatal errorHold on, I am stupid and set false links.
Resolved.
Forum: Reviews
In reply to: [Simple Ads Manager] Nice for a start, but impressions are counted wrongForum: Plugins
In reply to: [Simple Ads Manager] Excact Recognization of CrawlersBump 🙂
Forum: Hacks
In reply to: the_content vs the_excerpt: Theme, obey my will!Hi!
I now used a very simple code, which works much more stable – but thank you for your help, without it I wouldn’t have been able to create it!<div id="post_holder"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="post_dets"> <div class="post_author"><?php if(get_the_author_meta('userimg') != ""): ?> <img class="Autorenbild" src="<?php the_author_meta( 'userimg' ); ?>" width="40" height="40" /> <?php else: ?> <img src="<?php echo get_template_directory_uri(); ?>/images/no_user_img.jpg" alt="<?php the_title(); ?>" width="40" height="40" /> <?php endif; ?> <span>Geschrieben von:</span><span class="post_details"><?php the_author_posts_link(); ?></span></div> <div class="post_time"><span>Geschrieben am:</span><span class="post_details"><a href="<?php echo get_day_link(get_the_time('Y'), get_the_time('m'), get_the_time('d')); ?>"><?php the_time('F j, Y') ?> </a></span></div> <?php if (!empty($post->post_password)) {?><?php }else { ?><?php if ( comments_open() ) : ?><div id="comments_option">Meinungen<br /><a href="<?php the_permalink() ?>/#leave-comment">Kommentiere</a><div class="comments-counter"><?php comments_popup_link('0', '1', '%', '', ''); ?></div></div><?php ; else : ?><div id="comments_option">Die Kommentare sind geschlossen.</div><?php endif; ?><?php } ?></div> <a href="<?php the_permalink(); ?>" rel="bookmark"> <?php the_post_thumbnail('large'); ?></a> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>><?php the_excerpt(); ?> <a class="read_more" href="<?php the_permalink() ?>">Lesen Sie mehr...</a> <?php wp_link_pages( array( 'before' => '<p class="page-link">' . __( 'Pages:' ), 'after' => '</p>' ) ); ?> <div class="post_category"><span>In der Kategorie:</span> <?php the_category(', ' ) ?><?php the_tags('<br /><span>Tags:</span>',' , ','<br />'); ?> </div> </div> </div>Great!
Nope, backend.
Forum: Hacks
In reply to: the_content vs the_excerpt: Theme, obey my will!Yeah!
It works! I added an additional part of code to generate the “read more” link:
<div id="post_holder"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="post_dets"> <div class="post_author"><?php if(get_the_author_meta('userimg') != ""): ?> <img class="Autorenbild" src="<?php the_author_meta( 'userimg' ); ?>" width="40" height="40" /> <?php else: ?> <img src="<?php echo get_template_directory_uri(); ?>/images/no_user_img.jpg" alt="<?php the_title(); ?>" width="40" height="40" /> <?php endif; ?> <span>Geschrieben von:</span><span class="post_details"><?php the_author_posts_link(); ?></span></div> <div class="post_time"><span>Geschrieben am:</span><span class="post_details"><a href="<?php echo get_day_link(get_the_time('Y'), get_the_time('m'), get_the_time('d')); ?>"><?php the_time('F j, Y') ?> </a></span></div> <?php if (!empty($post->post_password)) {?><?php }else { ?><?php if ( comments_open() ) : ?><div id="comments_option">Meinungen<br /><a href="<?php the_permalink() ?>/#leave-comment">Kommentiere</a><div class="comments-counter"><?php comments_popup_link('0', '1', '%', '', ''); ?></div></div><?php ; else : ?><div id="comments_option">Die Kommentare sind geschlossen.</div><?php endif; ?><?php } ?></div> <?php $attachments = get_posts(array('post_type' => 'attachment','post_parent' => get_the_ID(), 'post_mime_type' => 'image/jpeg')); $src = wp_get_attachment_image_src($attachments[0]->ID, 'large'); echo "<img src=\"$src[0]\">";?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>><?php the_excerpt(); ?> <a class="read_more" href="<?php the_permalink() ?>">Lesen Sie mehr...</a> <?php wp_link_pages( array( 'before' => '<p class="page-link">' . __( 'Pages:' ), 'after' => '</p>' ) ); ?> <div class="post_category"><span>In der Kategorie:</span> <?php the_category(', ' ) ?><?php the_tags('<br /><span>Tags:</span>',' , ','<br />'); ?> </div> </div> </div>You can see everything working on
Could you do me some final favor and explain to me how I can get the image now to linking to the article?
And if you have flattr or paypal or give-me-coffee or anything – just leave a note!