1 year, 9 months ago
WP PHP Programmer Needed Small Issue BROKEN REPORT LINK PLUGIN ISSUE
Im using the wp broken post report plugin on my blog however when you activate the plugin it move the report link below the content.
How can I add this report link wherever I want ?
Here is the plugin page http://wordpress.org/extend/plugins/gd-broken-report/
Here is a example of the plugin in use http://www.top30tvshows.com/smallville-2010/
As you will notice there is the link Click To Report This Video Broken. below the content. We want to move it above the fold possibly as a image link.
How can I add this report link wherever I want ?
Here is the plugin page http://wordpress.org/extend/plugins/gd-broken-report/
Here is a example of the plugin in use http://www.top30tvshows.com/smallville-2010/
As you will notice there is the link Click To Report This Video Broken. below the content. We want to move it above the fold possibly as a image link.
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$1 Answer
The info you asked for is on the plugin page you linked.
-- Quote
Manual Integration Function
To add report block anywhere in the page, you can use a function. If you leave $post_id to 0, plugin will use current post in the loop.
gd_broken_report($post_id = 0, $echo = true)
-- /Quote
http://wordpress.org/extend/plugins/gd-broken-report/installation/
If you want the link on every post then you can just add the function call at a suitable point in the single.php file of your theme.
There is also a shortcode you could use if you only want this to appear in selected posts, or at a specific point inside the post, which also explained in the link above.
-- Quote
Manual Integration Function
To add report block anywhere in the page, you can use a function. If you leave $post_id to 0, plugin will use current post in the loop.
gd_broken_report($post_id = 0, $echo = true)
-- /Quote
http://wordpress.org/extend/plugins/gd-broken-report/installation/
If you want the link on every post then you can just add the function call at a suitable point in the single.php file of your theme.
There is also a shortcode you could use if you only want this to appear in selected posts, or at a specific point inside the post, which also explained in the link above.
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$
I'm not interested in your M$5.
Mahalo dollars aren't worth squit to me anymore, and I have plenty more useful things to do with my time then researching questions like this for a few bucks.
I thought you needed help. If you know what you say then you should be able to figure it out for yourself, it's not difficult.
Keep your M$5.
I won't waste my time trying to help you in the future.
Thanks for your comment,
How do I add gd_broken_report($post_id = 0, $echo = true)
do I add it on the single.php page just like shown above.
Also after I add the above code how can I call the function. Because what I would like to do is make a image link that says Report then when you click it will report the video and change the image to Already Reported. If you will notice on our site currently there is a similar option below the post content that says report as a text link but not as a image link so this is what we want to change so users can see it more clearly.
Thanks
If you don't know the answers to the type of questions you are asking you need to either learn a little bit about HTML, PHP and Wordpress - not very much though - or get help from someone knowledgeable who you will let edit your theme files.
Basically...
- To make an image link, just use the normal way you make links in HMTL, but use an image as the "anchor text"
- To use the link generated by the function as the link that is called when you click on the imahe, use the value returned or echoed by the function as the link URL
If that's not enough explanation, you'll need someone that understands how PHP is used to generate web pages to make the actual changes for you.
Ok the above code works if you want to place the text anywhere but how about the image part of this question?
I know html and css quite well, In order to get this 5 dollar question you will have to do a bit more research on this one, most of everything you told me I was able to figure out on my own.