Results 1 to 3 of 3
Hybrid View
-
2nd Jan 2010, 04:00 PM #1OPMemberWebsite's:
proxxy.in scnpic.com w7s.orgwordpress help needed
am writing a plugin and have most of it done, dont wether i am tired but i just cant see the bit i need.
to display title and link in a code box i am using
Code:$lr_permalink = get_permalink($post->ID); $lr_title = get_the_title($post->ID);
Code:$lr_content = get_the_content($post->the_post()) or $lr_content = get_the_content($post->the_content)
thanksCrapH Reviewed by CrapH on . wordpress help needed am writing a plugin and have most of it done, dont wether i am tired but i just cant see the bit i need. to display title and link in a code box i am using $lr_permalink = get_permalink($post->ID); $lr_title = get_the_title($post->ID); Rating: 5
-
2nd Jan 2010, 04:18 PM #2OPMemberWebsite's:
proxxy.in scnpic.com w7s.orgok i have figured it is
Code:$lr_content = get_the_content($post->post_content);
Code:<div style="float:right;width:60%;color:#000000;"><strong>codebox</strong><textarea name="' . $lr_title . '" rows="" cols="" style="width:90%;height:60px;overflow-y:auto;overflow-x:hidden;font-family:arial,times,courier;font-size:10px" readonly="readonly" onclick="this.focus(); this.select();"><a href="' . $lr_permalink . '">' . $lr_title . '</a> < ' . $lr_content . ' <</textarea>
-
2nd Jan 2010, 07:22 PM #3OPMemberWebsite's:
proxxy.in scnpic.com w7s.orgok the final code i am using is this
PHP Code:
$lr_permalink = get_permalink($post->ID);
$lr_title = get_the_title($post->ID);
$lr_content = get_the_content($post->post_content);
if ( !is_feed() && !is_page() ) {
$content .= '<div align="center" style="border:1px solid #999999;background:#DFFFA5;color:#000000;padding:7px;margin:10px;font-size:11px">
<div style="float:left;width:40%;text-align:left;color:#000000"><div style="font-size:13px;color:#000000;"><strong>Insert this info in to your forum movie posts!</strong></div>1. <em><strong>Click</strong> inside the codebox</em><br />2. <em><strong>Right-Click then Copy</strong></em><br />3. <em><strong>Paste</strong> the text into your thread</em></div>
<div style="float:right;width:60%;color:#000000;"><strong>codebox</strong><textarea name="' . $lr_title . '" rows="" cols="" style="width:90%;height:60px;overflow-y:auto;overflow-x:hidden;font-family:arial,times,courier;font-size:10px" readonly="readonly" onclick="this.focus(); this.select();">[url=' . $lr_permalink . ']' . $lr_title . '[/url]; ' . $lr_content . '; </textarea>
i am willing to pay for help with this
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Wordpress Theme Needed
By Z_UpLoAdEr in forum Graphics AreaReplies: 3Last Post: 16th Aug 2012, 12:19 AM -
Wordpress help needed
By KINGTHE_ALI in forum Webmaster DiscussionReplies: 7Last Post: 10th Jan 2012, 12:06 PM -
Help needed in wordpress
By -={MINDFREAK}=- in forum Web Development AreaReplies: 1Last Post: 31st Aug 2011, 04:53 AM -
Wordpress Sitemap Help Needed
By BigBang24 in forum Webmaster DiscussionReplies: 4Last Post: 31st Mar 2011, 08:04 AM -
Wordpress Help Needed
By DJGaurav in forum WordpressReplies: 0Last Post: 1st Sep 2009, 05:58 AM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...