Welcome to Blog – iRedlof

Random Post Refresh

iRedlof Ajax Login Pro [Wordpress Plugin]

* Click Here to buy this plug-in or goto Shop page from top menu. Compatible up to : 2.9.2 Snapshots: iRedlof Options Page in Admin Panel Normal Closed...
Read More ...
Help

If you need any help, leave a comment here or mail me »

Member Login
Not a member yet? Sign Up!

Math Required!
What is the sum of: 9 + 9    

Forgot Password !

Powered by

25

Apr

2009

Need Help With Your Wordpress ?

By admin. Posted in Quest, Wordpress

27 Comments »   |   Share   |  


Anybody out there having problem with your wordpress. For eg: problems like setting up your blog, plugin install, theme install, anything related to coding section, etc can ping me if you want any help from me.

Add your question as comment below and i will try my level best to find a solution to your problems.

If you are interested in custom build plugin for your wordpress, Place your requirement below in the comment section.

VN:F [1.8.4_1055]
Rating: 10.0/10 (2 votes cast)
VN:F [1.8.4_1055]
Rating: 0 (from 0 votes)
Need Help With Your Wordpress ?10.0102

admin Email this author | All posts by admin | Subscribe to Entries (RSS)

 

27 Responses to “Need Help With Your Wordpress ?”

  1. 1
    Martin Says:

    Hi,

    I have an question about adding some code:

    I would like to have a box at my site that randomly shows one or more old posts. Kinda like feature content plugin, but not as fancy (no javascript or caroussel or anything) just a thumbnail (from a custom field in the post) and some text from the post.

    Hope you understand what i mean and that you can help me getting such a box :)

    Cheers,
    Martin

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  2. 2
    admin Says:

    you did not mention the position to show this box, i m assuming it to be in sidebar, for that you need to edit your sidebar.php of your theme.

    open this .txt file and there is a solution to your problem..
    i have added here a text file cos the code in it is executing here in this post and so you won’t see the code, but its result in fact…

    http://iredlof.com/download/18/

    UA:F [1.8.4_1055]
    Rating: 5.0/5 (1 vote cast)
    UA:A [1.8.4_1055]
    Rating: +1 (from 1 vote)
  3. 3
    Martin Says:

    Thanks alot for helping!

    I get a

    Parse error: syntax error, unexpected ‘?’ in /home/www/pimpdaddy.dk/wp-content/themes/statement/sidebar.php on line 78

    when i paste the code into the sidebar.php. I want the box to appear right below the first box in the sidebar on my site. You know just below the tab-box.

    Line 78 is this :

    a href=”">< ?php echo strip_tags(get_the_excerpt(),’‘); ?></p (some tags removed here so maybe it will show in the comment)

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  4. 4
    admin Says:

    Download that file again, There was some error in the content of that .txt file, i have updated tht.
    sorry for inconvenience.

    UA:F [1.8.4_1055]
    Rating: 5.0/5 (1 vote cast)
    UA:A [1.8.4_1055]
    Rating: 0 (from 0 votes)
  5. 5
    Martin Says:

    Done.

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  6. 6
    Martin Says:

    Nice! Now the box is working. Is there then anyway to intergete thumbnails into the box?
    If the post has a custon field called THUMBNAIL or something like that.

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  7. 7
    admin Says:

    This arbitrary extra information which you want is known as meta-data.

    To fetch meta values use the get_post_meta() function:

    get_post_meta($post_id, $key, $single);

    – $post_id is the ID of the post you want the meta values for. Use $post->ID to get a post’s ID.
    – $key is a string containing the name of the meta value you want.
    – $single can either be true or false. If set to true then the function will return a single result, as a string. If false, or not set, then the function returns an array of the custom fields.

    To output the resulting meta value (notice the addition of “echo”) use the following code there in your sidebar box and set it according using css:

    < ?php $key="mykey"; echo get_post_meta($post->ID, $key, true); ?>

    UA:F [1.8.4_1055]
    Rating: 5.0/5 (1 vote cast)
    UA:A [1.8.4_1055]
    Rating: 0 (from 0 votes)
  8. 8
    Martin Says:

    Iredlof: is it ok to send you an mail? I have a script regarding the whole ‘random articles with thumbnail’ issue i would like you to see and help me with.

    Cheers,
    Martin

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  9. 9
    admin Says:

    Ya sure, send it to me

    UA:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UA:A [1.8.4_1055]
    Rating: 0 (from 0 votes)
  10. 10
    Martin Says:

    Thanks mate. I have send it.

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  11. 11
    admin Says:

    Martin, I got your code, i will check it out and try to fix it.. bt plz gimme some time cos study time has come as i have my exam on 3rd.
    i m sorry, bt i promise ill fix it for u after 3rd may..

    UA:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UA:A [1.8.4_1055]
    Rating: 0 (from 0 votes)
  12. 12
    Martin Says:

    Thanks alot. I really appriciate it. And no hurrys at all. Good luck on the exam though.

    Cheers,
    Martin

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  13. 13
    admin Says:

    Martin, the code you sent me is ready with random post query and also showing featured image attached in custom field.
    custom tag should be :

    i m sorry as this is just a raw code and not a plugin which i thought of making it for you as i don;t have time now days cos of my exams.
    i m mailing you that code, if you find any bug or problem in using it, just let me know…

    UA:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UA:A [1.8.4_1055]
    Rating: 0 (from 0 votes)
  14. 14
    Martin Says:

    Hey Rohit.

    Seems to work great – THANKS! . I just have one question:
    How do i get a line between each random post like:

    HEADLINE 1
    bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
    ——————————————
    HEADLINE 2
    bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
    ——————————————
    HEADLINE 3
    bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla

    I tried to put tag after ….?>” alt=”" />

    but that didnt work.

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  15. 15
    Martin Says:

    …I tried to put tag after ….?>” alt=”” />

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  16. 16
    Martin Says:

    Uhh and how to make the thumbnail link to the article as well as the headline?

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  17. 17
    Martin Says:

    And btw: The line i was talking about should be beneath the thumbnail. You can see a picture here:
    http://www.billedeupload.dk/photo/2009-04/adce3fb9/line.jpg.html

    Cheers

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  18. 18
    admin Says:

    martin, i have sent an update of code on your email, try that…

    UA:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UA:A [1.8.4_1055]
    Rating: 0 (from 0 votes)
  19. 19
    Martin Says:

    Rohit i tried it, but the line does not come under the thumbnail, but under the text:
    http://imageload.dk/browse/file/e9f0927d0b0b5eb2325bd7acde6482a0/

    So the line goes through the thumbnail. It would be cool if the line could be beneath the thumbnail. And could the line be like the rest of the lines on the page? I have no idea what tag is used for creating lines :-) Im such an idiot at html

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  20. 20
    admin Says:

    Martin, the solution to your random post is here,
    download this file, this is a plugin which is fully customizable sidebar widget.
    Hope this wil fullfill your need…
    Download : http://iredlof.com/download/18/

    UA:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UA:A [1.8.4_1055]
    Rating: 0 (from 0 votes)
  21. 21
    Martin Says:

    Nice one rohit. Super cool widget. Thanks alot mate. Using it now at the frontpage: http://www.pimpdaddy.dk

    Thanks man. YOU ROCK!!!

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  22. 22
    Martin Says:

    Ahh just found an error in the plugin: You have made the thumbnail clickable, but it links to a wrong article every time :-)

    Is it fixable?

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  23. 23
    admin Says:

    Ooops.. my mistake…

    replace the_permalink(); with echo(get_permalink($rpost->ID)); in iRedlof_random_post_widget.php

    UA:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UA:A [1.8.4_1055]
    Rating: 0 (from 0 votes)
  24. 24
    Martin Says:

    Thanks man! Now its working greeeaattt!!!
    You truly are the man!

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  25. 25
    Emo Says:

    Hey, I found your blog while gathering info about this. I must admit this is quite new to me, so your blog is really useful. Can you explain me how can I subscribe to your rss?Like for emo dorks like me :) I’ll be grateful

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  26. 26
    Emo Boy Says:

    Hey, I found your blog while gathering info about this. I must admit this is quite new to me, so your blog is really useful. Can you explain me how can I subscribe to your rss?Like for emo dorks like me :) I’ll be grateful

    UN:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.4_1055]
    Rating: 0 (from 0 votes)
  27. 27
    admin Says:

    Thanxs for showing your interest,
    you can try subscribing to email feature right side on of his page..
    cos there is some issues with post rss feature… will fix it soon..

    UA:F [1.8.4_1055]
    Rating: 0.0/5 (0 votes cast)
    UA:A [1.8.4_1055]
    Rating: 0 (from 0 votes)
 

Leave a Reply

You must be logged in to post a comment.

You can buy xeloda here