gcarter1wp
Forum Replies Created
-
Hello — I’m ok with custom fields, but the question I have is which template to enter the
<?php echo nggcf_get_gallery_field($gallery->ID, "testme"); ?>
code into. There are 78 temnplates in NextGen. I think the code goes into YOUR template, but I can’t find a loop in which to place it. Saying “Make sure you add the fields you want to the correct place,” is not that helpful to code illiterates like me.Not being critical here and know I’m being dense, but could you be a bit more specific (like the code in the place to enter looks like this ….) to help out us PHP dummies?
Thanks
Forum: Plugins
In reply to: GD Star RatingAgain, not a big php person, but if all you want is to show a certain number of posts on a page with the text, you can go the plug-in route.
Install the plugin TPG and enter this shortcode on a page:
[tpg_get_posts numberposts=10]
That will display the last ten posts on a page WITH text. Honest.
Forum: Plugins
In reply to: GD Star RatingHey, I had the same thought BUT you can set for anything you want. See the Details in the plugin itself. In the meantime, simply use this shortcode, the original with an added tag:
[tpg_get_posts numberposts=5]
On one of my pages I have:
<p style="margin-bottom: 10px; font-size: 1.4em; font-weight: bold; color: #333;">Ten recent Movie Reviews posted by members:</p>[tpg_get_posts numberposts=10]
If you know how to with with categories, you can do this, too:
[tpg_get_posts category_name="movies" numberposts=10]
Here’s the deal. I am learning PHP and doing a good job at it. I do this by getting my hands dirty, as I’m sure you are; that is, by getting more and more into the code. And you know what? The more you understand how the code works, the more often you will stop relying on plugins. I still use a bunch but have eliminated several because I don’t need them anymore. I hardcode into the theme editor files. I started by playing with the style.css file. Change something, see the effect, adjust it, then try something else.
Just a thought. Any questions, ask.
Mike
Forum: Plugins
In reply to: GD Star RatingHi — I’m still a bit of a php newbie, so I use a lot of plugins. That said, TPG Get Posts is a plug in which might do what you’re looking for. It allows listing of posts with text (and can use — more — ) on a page.