bluesaturn
Member
Posted 5 years ago #
I have installed a headline image plugin,
it got a function:<?php echo ImageHeadline_render( 'XXXX'... ?>
XXXX is the word that you want to convert to image.
If I want to show category description, I can put code:<?php echo category_description(); ?> to my themes.
My question is how to convert <b><?php echo category_description(); ?></b> into <?php ImageHeadline_render('XXXX') ?> function.
How to make <?php echo category_description(); ?> become a pure txt word.
Sorry I'm not good at English~and I'm not good at php code..^^
Thanks for your help and welcome to my blog: http://dwl.no-ip.org/ssblog/
Try this:
<?php ImageHeadline_render(category_description()); ?>
bluesaturn
Member
Posted 5 years ago #
It doesn't work.
The actually format is :<?php echo ImageHeadline_render( 'words','format' ?>!
how can i convert
<?php echo category_description(); ?> into that txt words?
Add "echo" to the line then. You left that out of your initial post.
<?php echo ImageHeadline_render(category_description()); ?>
I don't know what "format" you're talking about would be, however.
bluesaturn
Member
Posted 5 years ago #
sorry for misunderstanding,
please refer to the following link.
http://www.coldforged.org/image-headlines-plugin-for-wordpress-15/
Thanks for ur help~....^^
I guess my point is not getting across here. This is not complicated. Let me try again...
how can i convert
<?php echo category_description(); ?> into that txt words?
Remove the "echo" and just use:
category_description()
in place of wherever you need to put the:
'words'
Do you see it now?
If the command was Do_Something('words'); and you did Do_Something(category_description()); then that would work perfectly.
bluesaturn
Member
Posted 5 years ago #
a~
thank you thank you thank you ~
I have resolved this question!
Thanks for your help...^^
I forget to delete ''....>_<;
drew3000
Member
Posted 4 years ago #
I can't make <?php echo category_description(); ?> show up at all. It just gives me empty space.