WP Marketing » Tag: teaser - Recent Posts http://wpmarketing.org/forum/tags/teaser Wordpress for Internet and Affiliate Marketing en-US Tue, 15 Jul 2014 09:38:43 +0000 http://bbpress.org/?v=1.0.2 <![CDATA[Search]]> q http://wpmarketing.org/forum/search.php kim_w on "Code showing up in WP teaser again" http://wpmarketing.org/forum/topic/code-showing-up-in-wp-teaser-again#post-42 Wed, 28 Oct 2009 18:29:09 +0000 kim_w 42@http://wpmarketing.org/forum/ <p>working perfectly now - thanks! </p> kim_w on "Code showing up in WP teaser again" http://wpmarketing.org/forum/topic/code-showing-up-in-wp-teaser-again#post-41 Wed, 28 Oct 2009 18:22:20 +0000 kim_w 41@http://wpmarketing.org/forum/ <p>ah ha! thank you -- I will go to work on the theme files. I appreciate your feedback.... </p> hanadaddy on "Code showing up in WP teaser again" http://wpmarketing.org/forum/topic/code-showing-up-in-wp-teaser-again#post-40 Wed, 28 Oct 2009 18:20:24 +0000 hanadaddy 40@http://wpmarketing.org/forum/ <p>kim_w, I did some research and found the theme files. You know these commercial theme files use non standard ways to implement particular tasks because there are limitation with the provided official APIs.</p> <p>I checked and found that your Agent Theme is using <code>the_content_limit</code> function included in the <code>functions.php</code>. And calling <code>the_content</code> instead of <code>the_excerpt</code> within the customized function. That caused my Hana Flv Plugin to produce output for the case of content output, not the excerpt output. That's why you got all the scripts . </p> <p>Just to make things clear , my plug-in works OK with the themes using standard <code>the_excerpt</code> function. Yours is having problem since it's not using the standard API.</p> <p>Since this is custom modification, I would not update or modify my plug-in but rather you should check your theme file.</p> <p>In <code>functions.php</code>, add below lines after line 310 </p> <pre> global $wp_current_filter; array_push($wp_current_filter,'get_the_excerpt'); </pre> <p> <a class='bb_attachments_link' href='http://wpmarketing.org/forum/?bb_attachments=40&bbat=6'><img src='http://wpmarketing.org/forum/?bb_attachments=40&bbat=6&inline' /></a></p> <p>Also, if that line number does not work, just find the 'the_content_limit' within the functions.php file and add the above lines after that. </p> kim_w on "Code showing up in WP teaser again" http://wpmarketing.org/forum/topic/code-showing-up-in-wp-teaser-again#post-39 Wed, 28 Oct 2009 13:36:22 +0000 kim_w 39@http://wpmarketing.org/forum/ <p>WP 2.8.4 and theme is Agent Theme by StudioPress. I will PM you if you need to see other files, too - thanks. </p> hanadaddy on "Code showing up in WP teaser again" http://wpmarketing.org/forum/topic/code-showing-up-in-wp-teaser-again#post-38 Wed, 28 Oct 2009 12:58:38 +0000 hanadaddy 38@http://wpmarketing.org/forum/ <p>This is to add the image showing the problem.</p> <p> <a class='bb_attachments_link' href='http://wpmarketing.org/forum/?bb_attachments=38&bbat=5'><img src='http://wpmarketing.org/forum/?bb_attachments=38&bbat=5&inline' /></a> </p> hanadaddy on "Code showing up in WP teaser again" http://wpmarketing.org/forum/topic/code-showing-up-in-wp-teaser-again#post-37 Wed, 28 Oct 2009 12:40:59 +0000 hanadaddy 37@http://wpmarketing.org/forum/ <p>What version of Wordpress are you using? Can I get try your theme file for testing? ( Just for index.php ) If you can, I will PM my email so you can send it. </p> kim_w on "Code showing up in WP teaser again" http://wpmarketing.org/forum/topic/code-showing-up-in-wp-teaser-again#post-36 Wed, 28 Oct 2009 11:59:48 +0000 kim_w 36@http://wpmarketing.org/forum/ <p>Hi, </p> <p>I am having the same problem that was posted a few weeks ago (<a href="http://wpmarketing.org/forum/topic/hana-code-shows-up-in-wordpress-teaser" rel="nofollow">http://wpmarketing.org/forum/topic/hana-code-shows-up-in-wordpress-teaser</a>) but I cannot find any resolution that works for me --</p> <p>The code for the player is showing up in the teaser for my WP posts. I entered the 'description' as suggested, but it did nothing; I also tried the simple solution of adding more text description to try to "bump" the code off the teaser, but that didn't work either. You can see an example from <a href="http://www.viewdigs.com" rel="nofollow">http://www.viewdigs.com</a> Can you advise what to do? </p> hanadaddy on "Hana code shows up in Wordpress teaser" http://wpmarketing.org/forum/topic/hana-code-shows-up-in-wordpress-teaser#post-31 Mon, 26 Oct 2009 00:07:16 +0000 hanadaddy 31@http://wpmarketing.org/forum/ <p>z_bart, I just updated Hana Flv Player to version 2.4. A new attribute <code>description</code> is added. You can set some descriptions for this attribute and it will be shown in the page where <code>the_exerpt()</code> function is used to show 'teaser' .</p> <pre>[hana-flv-player video="http://localhost/wp-content/plugins/hana-flv-player/babyhana.flv" width="400" height="320" description="Sarah is having fun in a merry-go-round" clickurl="http://localhost" clicktarget="_blank" player="4" autoplay="false" loop="false" autorewind="true" splashimage="http://localhost/wp-content/plugins/hana-flv-player/splash.jpg" /] </pre> <p>See below capture for normal display and when <code>the_except()</code> is used.</p> <p> <a class='bb_attachments_link' href='http://wpmarketing.org/forum/?bb_attachments=31&bbat=2'><img src='http://wpmarketing.org/forum/?bb_attachments=31&bbat=2&inline' /></a> <a class='bb_attachments_link' href='http://wpmarketing.org/forum/?bb_attachments=31&bbat=3'><img src='http://wpmarketing.org/forum/?bb_attachments=31&bbat=3&inline' /></a> </p> z_bart on "Hana code shows up in Wordpress teaser" http://wpmarketing.org/forum/topic/hana-code-shows-up-in-wordpress-teaser#post-28 Sun, 25 Oct 2009 14:58:52 +0000 z_bart 28@http://wpmarketing.org/forum/ <p>As a workaround, I set my 'teaser' options in WP to show only the post title and link to the full post, without showing an excerpt of the actual text. When the post opens in its own window the player and text show up fine. So if you don't mind that only the title of your archived/teaser posts shows, the player works great. </p> hanadaddy on "Hana code shows up in Wordpress teaser" http://wpmarketing.org/forum/topic/hana-code-shows-up-in-wordpress-teaser#post-20 Mon, 12 Oct 2009 12:31:17 +0000 hanadaddy 20@http://wpmarketing.org/forum/ <p><blockquote><br /> Thank you. Do you know if it's possible for me to add the script tags back to the code in the teasers? Alternatively, will you be able to address this in a future version of the Hana FLV player? I really like the design of the player and would like to use it in my posts. </p> <p>z_bart<br /> </blockquote></p> <p>z_bart, actaully I am not planning to make the flv player to work in the teaser or <code>the_excerpt()</code> output. That will probably break the original theme's layout. </p> <p>I am thinking of adding an extra description attribute to use within the [hana-code-insert ] shortcode. So the description value will be used as output when <code>the_exerpt()</code> is used. Also, I will make this to be embedded within javascript or SWF objects , so the description can be seen by Search Engines.</p> <p>Thanks and let me know if you have more ideas on this. </p> hanadaddy on "Hana code shows up in Wordpress teaser" http://wpmarketing.org/forum/topic/hana-code-shows-up-in-wordpress-teaser#post-19 Mon, 12 Oct 2009 12:24:58 +0000 hanadaddy 19@http://wpmarketing.org/forum/ <p>It appears that Hana FLV plugin does not work properly in teaser section. It appears that they remove the script tags and all. So I guess as a quick solution, I should remove the FLV player in the teaser area.</p> <p>Thanks for the update. </p> hanadaddy on "Hana code shows up in Wordpress teaser" http://wpmarketing.org/forum/topic/hana-code-shows-up-in-wordpress-teaser#post-18 Sat, 10 Oct 2009 22:42:58 +0000 hanadaddy 18@http://wpmarketing.org/forum/ <p>Hello z_bart,<br /> It should be working OK in the article teaser. Wait, you want it to disable the video in the teaser? Maybe I can add additional option to disable video in the teaser section.</p> <p>Can you please let me know the URL ? I would like to check out myself for further review. You can always PM me the URL if you don't want to disclose.<br /> Thank you. </p> z_bart on "Hana code shows up in Wordpress teaser" http://wpmarketing.org/forum/topic/hana-code-shows-up-in-wordpress-teaser#post-17 Sat, 10 Oct 2009 13:10:12 +0000 z_bart 17@http://wpmarketing.org/forum/ <p>Hi, thank you for this excellent player. I really enjoy the capability to customize. The player shows up and works fine in the post pages, but in the older posts, when they show up as teasers in my Wordpress blog, the player code shows up just before the article teaser. Can you recommend what to do so the code does not show in the teaser? Thank you!<br /> For example:</p> <p>flashembed(’hana_flv_flow_1′,<br /> { src:’http://mysite.com/wp-content/plugins/hana-flv-player/flowplayer/FlowPlayerDark.swf’, wmode: ‘transparent’, width: 380, height: 300 },<br /> { config: { videoFile: ‘http://mysite.com/wp-content/uploads/2009/10/10.10.09-Spiz-30fps-Optimal.flv’, autoPlay: false ,loop: false, autoRewind: true, autoBuffering: false,<br /> initialScale: ’scale’ ,showStopButton: true, controlsOverVideo:</p> <p>}}<br /> );</p> <p>At the beginning of June [...] </p>