Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Warning: Cannot modify header information - headers already sent by (output started at /home/themes/public_html/forums/bb-includes/db-mysql.php:12) in /home/themes/public_html/forums/my-templates/kakumei-variant/rss2.php on line 1
ThemeShaper Forums Topic: how to print and send by email the posts from my blog??? http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Fri, 22 May 2015 23:38:59 +0000 JimDandy on "how to print and send by email the posts from my blog???" http://forums.themeshaper.com/topic/how-to-print-and-send-by-email-the-posts-from-my-blog#post-17196 Mon, 22 Nov 2010 15:38:06 +0000 JimDandy 17196@http://forums.themeshaper.com/ <p>Sorry this is a very old thread, but hope someone might have an idea on how to use wp-print (no longer maintained, but still working) with a static page just populated by links (aka, a blogroll). I had already come up with my own functions.php block to make the wp-print icon and text show up, and I've now substituted Chris' version. I also have another block for my posts:</p> <pre><code>//add print button at bottom of posts function wp_print_include_posts() { if((function_exists(&#39;wp_print&#39;)) &#38;&#38; !is_single() &#38;&#38; !is_page()) { echo &#39;&lt;div class=&quot;wp_print_post&quot;&gt;&#39;. &quot;\n&quot;; print_link(); echo &#39;&#39; . &quot;\n&quot; . &#39;&lt;/div&gt;&lt;!-- .wp_print_post --&gt;&#39;. &quot;\n&quot;; } } add_filter(&#39;thematic_belowpost&#39;,&#39;wp_print_include_posts&#39;);</code></pre> <p>but on my Links page, the wp-print icon and text show up just below the page title and description, because the links loop is generated dynamically from links items in the DB, and all that prints is the page title and description. The question is, is there any way to print all of the links as well (and preferably not one-by-one). Thanks. </p> jamielt on "how to print and send by email the posts from my blog???" http://forums.themeshaper.com/topic/how-to-print-and-send-by-email-the-posts-from-my-blog#post-10219 Fri, 26 Feb 2010 14:56:04 +0000 jamielt 10219@http://forums.themeshaper.com/ <p>Hey! I just tried this and it worked.</p> <pre><code>// You can e-mail and print the posts function my_display_hook($content=&#39;&#39;) { if (is_single() || is_page()) { // the icons / textlinks will only show up on a single post or a page $content .= &quot;\n&lt;div class=\&quot;wp-email\&quot;&gt;\n&quot; . do_shortcode(&#39;[email_link]&#39;) . &#39; &lt;span class=&quot;meta-sep meta-sep-edit&quot;&gt; &amp;nbsp; &lt;/span&gt; &#39; . do_shortcode(&#39;[print_link]&#39;) . &quot;&lt;/div&gt;&lt;br /&gt;&quot;; } return $content; // return the changed content } add_filter(&#39;the_content&#39;, &#39;my_display_hook&#39;); // connect this filter to the_content</code></pre> jamielt on "how to print and send by email the posts from my blog???" http://forums.themeshaper.com/topic/how-to-print-and-send-by-email-the-posts-from-my-blog#post-10218 Fri, 26 Feb 2010 14:46:51 +0000 jamielt 10218@http://forums.themeshaper.com/ <p>Hello Chris,</p> <p>I am new at PHP and could use a little help.</p> <p>Would you help me with this? I want to add a non-breaking space between the e-mail link and the print link.</p> <p>This is what I have now.<br /> <pre><code>// You can e-mail and print the posts function my_display_hook($content=&#39;&#39;) { if (is_single() || is_page()) { // the icons / textlinks will only show up on a single post or a page $content .= &quot;\n&lt;div class=\&quot;wp-email\&quot;&gt;\n&quot; . do_shortcode(&#39;[email_link]&#39;) . do_shortcode(&#39;[print_link]&#39;) . &quot;&lt;/div&gt;&quot;; } return $content; // return the changed content } add_filter(&#39;the_content&#39;, &#39;my_display_hook&#39;); // connect this filter to the_content</code></pre> <p>I would like to have a space here:</p> <pre><code>// You can e-mail and print the posts function my_display_hook($content=&#39;&#39;) { if (is_single() || is_page()) { // the icons / textlinks will only show up on a single post or a page $content .= &quot;\n&lt;div class=\&quot;wp-email\&quot;&gt;\n&quot; &lt;A_SPACE_WOULD_BE_HERE&gt; do_shortcode(&#39;[email_link]&#39;) . do_shortcode(&#39;[print_link]&#39;) . &quot;&lt;/div&gt;&quot;; } return $content; // return the changed content } add_filter(&#39;the_content&#39;, &#39;my_display_hook&#39;); // connect this filter to the_content</code></pre> <p>Thanks<br /> Jamielt </p> lqunta on "how to print and send by email the posts from my blog???" http://forums.themeshaper.com/topic/how-to-print-and-send-by-email-the-posts-from-my-blog#post-7524 Thu, 29 Oct 2009 11:12:12 +0000 lqunta 7524@http://forums.themeshaper.com/ <p>Greetings Chris,</p> <p>Is it possible, on the above code, to add other 'links', a good visual example is <a href="http://wpmodder.com/secondary-html-content-plugin-video-overview-728.html#more-728" rel="nofollow">http://wpmodder.com/secondary-html-content-plugin-video-overview-728.html#more-728</a> [basically here, what makes sense in reference to this post, is the 'help spread the word' section.</p> <p>Any further ideas will be of great help.</p> <p>Cheers<br /> LQunta </p> Chris on "how to print and send by email the posts from my blog???" http://forums.themeshaper.com/topic/how-to-print-and-send-by-email-the-posts-from-my-blog#post-2434 Fri, 20 Mar 2009 13:44:01 +0000 Chris 2434@http://forums.themeshaper.com/ <p>Hey Sandra,</p> <p>went better than I thought .. It was more a thing how to ship around the weird display I got. </p> <p>Install and activate the following plugins:</p> <p><a href="http://lesterchan.net/portfolio/programming/php/#wp-email">WP-Email</a> - <a href="http://lesterchan.net/wordpress/readme/wp-email.html">Documentation</a></p> <p>and</p> <p><a href="http://lesterchan.net/portfolio/programming/php/#wp-print">WP-Print</a> - <a href="http://lesterchan.net/wordpress/readme/wp-print.html">Documentation</a></p> <p>.. and don't forget to re-Generate the Permalink (WP-Admin -&gt; Settings -&gt; Permalinks -&gt; Save Changes) </p> <p>For WP-Email: It is important that you set E-Mail Link Type to 'E-Mail Popup' otherwise you'll end up with the same weird display.</p> <p>For WP-Print: you might want to set Print Links to 'No'</p> <p>Normally you would need to edit the theme files to integrate both plugins. We're doing some magic here. Copy the following code into your functions.php:<br /> <pre><code>function my_display_hook($content=&#39;&#39;) { if (is_single() || is_page()) { // the icons / textlinks will only show up on a single post or a page $content .= &quot;\n&lt;div class=\&quot;wp-email\&quot;&gt;\n&quot; . do_shortcode(&#39;[email_link]&#39;) . &quot;&lt;/div&gt;&quot;; // take the content, add a div class, add the shortcode, do some magic and close the div $content .= &quot;\n&lt;div class=\&quot;wp-print\&quot;&gt;\n&quot; . do_shortcode(&#39;[print_link]&#39;) . &quot;&lt;/div&gt;&lt;br /&gt;&quot;; } return $content; // return the changed content } add_filter(&#39;the_content&#39;, &#39;my_display_hook&#39;); // connect this filter to the_content</code></pre> <p>Now we need change the position of the icons .. copy the following code to your child theme's style.css:<br /> <pre><code>div.wp-email a img { margin-bottom: -1px; } div.wp-print a img { margin-bottom: -1px; }</code></pre> <p>This is just the basic styling which should give you an idea where and how to do more if needed.</p> <p>Tested with Thematic 0.9 and the basic child theme coming from the directory thematic\thematic-sample-child-theme.</p> <p>I haven't tested the E-Mail Setup itself. Any questions related to WP-Email and WP-Print will be answered in the <a href="http://forums.lesterchan.net/">Plugins Forums</a>. </p> <p>Cheers,</p> <p>Chris </p> Sandraniubo on "how to print and send by email the posts from my blog???" http://forums.themeshaper.com/topic/how-to-print-and-send-by-email-the-posts-from-my-blog#post-2432 Fri, 20 Mar 2009 12:26:45 +0000 Sandraniubo 2432@http://forums.themeshaper.com/ <p>thanks for your help, i hope my question will not to take you a lot of time to resolve..<br /> but it will be great!</p> <p>i wait for more info,</p> <p>cheers,</p> <p>Sandra </p> Chris on "how to print and send by email the posts from my blog???" http://forums.themeshaper.com/topic/how-to-print-and-send-by-email-the-posts-from-my-blog#post-2431 Fri, 20 Mar 2009 11:41:28 +0000 Chris 2431@http://forums.themeshaper.com/ <p>Hey,</p> <p>sorry .. still working on it. Found WP-Email and WP-Print, started to test both plugins and ended up with a messed up page for entering the email data.</p> <p>Cheers,</p> <p>Chris </p> Sandraniubo on "how to print and send by email the posts from my blog???" http://forums.themeshaper.com/topic/how-to-print-and-send-by-email-the-posts-from-my-blog#post-2418 Thu, 19 Mar 2009 18:06:29 +0000 Sandraniubo 2418@http://forums.themeshaper.com/ <p>Hi Chris!, and thanks for asking, </p> <p>the thing about the Email part, I need to have the option of send to a "friend" the content of the post </p> Chris on "how to print and send by email the posts from my blog???" http://forums.themeshaper.com/topic/how-to-print-and-send-by-email-the-posts-from-my-blog#post-2415 Thu, 19 Mar 2009 14:38:33 +0000 Chris 2415@http://forums.themeshaper.com/ <p>Hey &#38; welcome on board!</p> <p>Could you please give me some more details. The Print part is ok.</p> <p>The Email Part:<br /> Do you want something like a subscription list for your posts? .. or do you need something like 'Nice post .. I'm going to mail this to a friend?'</p> <p>Cheers,</p> <p>Chris </p> Sandraniubo on "how to print and send by email the posts from my blog???" http://forums.themeshaper.com/topic/how-to-print-and-send-by-email-the-posts-from-my-blog#post-2411 Thu, 19 Mar 2009 12:43:22 +0000 Sandraniubo 2411@http://forums.themeshaper.com/ <p>Hi!, i'm in my start with WP, and thematic, i need to send by e-mail and print the posts of my blog, wich pluggin do i have to install, ore what do i have to do?? </p>