WP Marketing » Tag: the_excerpt - Recent Posts http://wpmarketing.org/forum/tags/the_excerpt Wordpress for Internet and Affiliate Marketing en-US Tue, 15 Jul 2014 11:20:43 +0000 http://bbpress.org/?v=1.0.2 <![CDATA[Search]]> q http://wpmarketing.org/forum/search.php hanadaddy on "Unalbe to show flash video" http://wpmarketing.org/forum/topic/unalbe-to-show-flash-video#post-81 Tue, 24 Nov 2009 15:39:22 +0000 hanadaddy 81@http://wpmarketing.org/forum/ <p><code>*Video:</code> It was removed in Hana Flv Player v2.4.2. Please upgrade again. </p> actionart on "Unalbe to show flash video" http://wpmarketing.org/forum/topic/unalbe-to-show-flash-video#post-80 Tue, 24 Nov 2009 11:05:10 +0000 actionart 80@http://wpmarketing.org/forum/ <p>Hi, thanks for your support. I've updated to the hanna flv version 2.4.1 and the error code (<strong>unalbe to show flash video</strong>) dissapeared but now the script showing in my header is <strong>*Video:</strong> </p> <p><a href="http://www.action-art-actuel.org/_fr/archives/2009/08/531">http://www.action-art-actuel.org/_fr/archives/2009/08/531</a></p> <p>Thanks </p> hanadaddy on "Unalbe to show flash video" http://wpmarketing.org/forum/topic/unalbe-to-show-flash-video#post-61 Tue, 10 Nov 2009 13:46:47 +0000 hanadaddy 61@http://wpmarketing.org/forum/ <p>hello actionart!</p> <p>Did you upgrade the hana flv player? "Unalbe to show flash video" error message was removed in the latest version. It was replaced with description attribute.</p> <p>It appears that your theme file is using <code>the_excerpt()</code> function to show text in the beginning of the page.<br /> <code>the_exceprt</code> function strips out the javascript and html tags including embed tags. And only the error message which was only for the browser without flash support remains to be shown. </p> <p>In the latest version (<a href='http://wpmarketing.org/wp-plugins/hana-flv-player/'>2.4.1</a>) , only the video 'description' attribute value is shown when called by <code>the_excerpt</code>. </p> <p>Please check out other topics related to <a href='http://wpmarketing.org/forum/tags/the_excerpt'>the_excerpt</a> for more info.</p> <p>Here is the portion of the html source of your site. This error message will not be showing if you update the plugin to the latest version.</p> <pre> &lt;div class="excerpt"&gt;&lt;p&gt;Esteban Nava Balvanera&lt;/p&gt; &lt;p&gt;Unalbe to show flash video&lt;/p&gt; &lt;/div&gt; </pre> actionart on "Unalbe to show flash video" http://wpmarketing.org/forum/topic/unalbe-to-show-flash-video#post-60 Tue, 10 Nov 2009 11:47:47 +0000 actionart 60@http://wpmarketing.org/forum/ <p>Hello,<br /> I'm new to wordpress, I have the 2.5.1 version and I'm using the Hana FLV player<br /> my videos are working perfectly on my web pages, however there is a code appearing in the header of my page <strong>Unalbe to show flash video</strong> (yes, with the wrong spelling) I can't find a way to remove this error message.</p> <p>The strange thing is that I have try the same procedure steps with 5 different pages, </p> <p>3 are showing an error code, even tough they are playing the videos.<br /> <a href="http://www.action-art-actuel.org/_fr/archives/2009/08/531" rel="nofollow">http://www.action-art-actuel.org/_fr/archives/2009/08/531</a><br /> <a href="http://www.action-art-actuel.org/_fr/archives/2009/08/530" rel="nofollow">http://www.action-art-actuel.org/_fr/archives/2009/08/530</a><br /> <a href="http://www.action-art-actuel.org/_fr/archives/2009/08/538" rel="nofollow">http://www.action-art-actuel.org/_fr/archives/2009/08/538</a></p> <p>and 2 of them are working perfectly without error messages<br /> <a href="http://www.action-art-actuel.org/_fr/archives/2009/09/566" rel="nofollow">http://www.action-art-actuel.org/_fr/archives/2009/09/566</a><br /> <a href="http://www.action-art-actuel.org/_fr/archives/2009/08/537" rel="nofollow">http://www.action-art-actuel.org/_fr/archives/2009/08/537</a></p> <p>How come this happens ? Tanks for your help support. </p> 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>