Hello Dolly

Most of WordPress user knows Hello Dolly. It is a plugin that shows random lyrics from “Hello Dolly” in upper right corner of admin panel.
And some users also would like to show these random lyrics in their front page like me. I looked for solutions for this problem and I found nothing. And then I asked one of my friend who uses WordPress for make money.

He solved my problem and gived me the answer:

<?php echo hello_dolly(); ?>

Put this code where you want to show random quotes in your theme.

I changed plugin’s code for my own needs and wrote my own plugin called “Random-Ataturk-Alintilari” You can find source codes in my Github profile: https://github.com/kptguven/

You can see demo in top of this page and under the menu.

Mustafa Kemal Ataturk is founder and first president of Republic of Turkey.



Bir yorum yazın