WP Marketing » Tag: theme - Recent Posts http://wpmarketing.org/forum/tags/theme Wordpress for Internet and Affiliate Marketing en-US Tue, 15 Jul 2014 11:09:19 +0000 http://bbpress.org/?v=1.0.2 <![CDATA[Search]]> q http://wpmarketing.org/forum/search.php lokomania on "Hana Flv player code shows on main post" http://wpmarketing.org/forum/topic/hana-flv-player-code-shows-on-main-post#post-251 Tue, 23 Nov 2010 23:19:16 +0000 lokomania 251@http://wpmarketing.org/forum/ <p>Hey thanks for the quick response... Im kinda of new at using wordpress can you please explain to me how I would do that.. how can I add the get_the_excerpt function to the index.php file </p> hanadaddy on "Hana Flv player code shows on main post" http://wpmarketing.org/forum/topic/hana-flv-player-code-shows-on-main-post#post-250 Tue, 23 Nov 2010 21:40:14 +0000 hanadaddy 250@http://wpmarketing.org/forum/ <p>Hello lokomania<br /> The problem is with your wordpress theme . The theme is not using <code>get_the_excerpt</code> function to get the excerpt in the index.php file. </p> <p>You can modify the index.php and use <code>get_the_excerpt</code> or use different theme. </p> lokomania on "Hana Flv player code shows on main post" http://wpmarketing.org/forum/topic/hana-flv-player-code-shows-on-main-post#post-249 Tue, 23 Nov 2010 20:24:45 +0000 lokomania 249@http://wpmarketing.org/forum/ <p>So im having this problem on which the code that I type on the html editor shows up on my main page of posts. The code actually works on the real post ( it shows the video which is what I want) but the problem is that the code is being shown on the main page..</p> <p><a href="http://www.lokomania.com" rel="nofollow">http://www.lokomania.com</a></p> <p>this is the website you can see what I mean on the first post.<br /> By the way I tried with different flv players and it seems that the player itself is not the problem so I dont know what to do :( someone please help me </p> hanadaddy on "Hanna Code Insert" http://wpmarketing.org/forum/topic/hanna-code-insert#post-136 Mon, 15 Mar 2010 13:13:15 +0000 hanadaddy 136@http://wpmarketing.org/forum/ <p>Hello<br /> So you want to use this function in your theme template files. There is no function created for this purpose, but you can simple use below codes in your template file.</p> <p>Just change <code>$entry_name</code> variable to your entry name used in the Hana Code settings page. </p> <pre> &lt;?php $entry_name="entry123"; if ($hana_code) { echo $hana_code-&gt;hana_code_return("[hana-code-insert name='$entry_name' /]"); } ?&gt; </pre> tagriffith on "Hanna Code Insert" http://wpmarketing.org/forum/topic/hanna-code-insert#post-135 Mon, 15 Mar 2010 12:25:11 +0000 tagriffith 135@http://wpmarketing.org/forum/ <p>Any help someone can give me on this would be great! The PHP does not recognize the code. I contacted StudioPress and they said that you would to create a template code. That way I can put the code in the templates code and use it on the header. </p> tagriffith on "Hanna Code Insert" http://wpmarketing.org/forum/topic/hanna-code-insert#post-129 Tue, 02 Mar 2010 15:50:06 +0000 tagriffith 129@http://wpmarketing.org/forum/ <p>How can you insert the Hanna Code into a theme template? I want to use this code to put a flash web banner on one of the StudioPress themes and it does not recognize it as code in the php template.</p> <p>Thanks! </p>