george.brooks
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: User Avatar]Hi CT,
I’ve found this too, especially after I removed some of the contact fields (http://wordpress.org/support/topic/remove-some-profile-fields?replies=25).
The answer is very simple, and just relies on tweaking the CSS for the plugin.
From the control panel, choose Plugins > Editor on the left.
Then choose the User Avatar from the dropdown on the right.
Select the .css file.Scroll down to the fifth CSS style declaration. It will look like this:
#user-avatar-display{ position:absolute; background-color:#F1F1F1; border-color:#E3E3E3; top: 525px; right: 180px; text-align: center; margin: 0 auto; padding: 0px 20px 20px 20px; }.
All you need to change are ‘top’ to 425px and ‘right: 180px’ to ‘left: 720px’. This means the avatar box floats 425 pixels from the top, and 720 pixels from the left of the window. This should locate it just below the ‘Username cannot be changed’ bit.
Hope that helps!
Forum: Fixing WordPress
In reply to: Get page content from each child page to show on parent page.This has been resolved in the thread above.
Forum: Fixing WordPress
In reply to: pull the_content from each child, reproduce on parent page.Awesome!
This works fantastically well.
Thank you SO MUCH for your help, you’ve been a wonder.
That’s all my questions answered!
Cheers!
George B.
Forum: Fixing WordPress
In reply to: pull the_content from each child, reproduce on parent page.Right then. I’ve got another little problem.
I would like to curtail the content that’s been pulled, and have a ‘Read More…’ link to the child page(s) included at the end of each users’ section. This way, the list will be a very brief overview, and if they’re interested, viewers can read more on the child page.
Clearly I’m not going to be able to use a <!–more–> tag, as this isn’t really the_content, it’s just a variable. Anyway, I’ve tried it. Doesn’t work.
I did find this suggestion here: http://rider.sofarider.com/wordpress-tips-and-tricks/how-to-trim-the_content-automatically/
Which is elegant is concept, but worthless in execution. I’ve tried using this and getting the permalink based on the page ID from the array that the post content comes from (so it’s linking to the right page) but no luck. It just doesn’t trim the text!
Any suggestions?
Forum: Fixing WordPress
In reply to: pull the_content from each child, reproduce on parent page.The final product is here:
http://www.gjblues.co.uk/wsjlab/meet-the-lab/
And not too shabby, if I do say so myself.
Forum: Fixing WordPress
In reply to: pull the_content from each child, reproduce on parent page.Hahaha,
That’s just what I’ve done!
http://wordpress.pastebin.com/diff.php?i=LFrvrmyq
This seems to work now. I’ve also enclosed the avatar in a div to format it.
Cheers for the help!
Forum: Fixing WordPress
In reply to: pull the_content from each child, reproduce on parent page.I did try using the post_parent= as the number of the page (taken from the link shown when you try to edit it from control panel, for example) and also by defining a variable either as a fixed value or the_ID for the page, but it made no difference.
I think get_pages is the answer, but I just don’t understand how to incorporate it into my current page.
Thanks again,
GB
Forum: Fixing WordPress
In reply to: pull the_content from each child, reproduce on parent page.Hi keesiemeijer,
I just read back over both of my forum posts for this problem, and two things have become apparent:
1) They appear far more similar than I realised
2) I sound very rude and ungrateful.The first is probably true. The second definitely isn’t. I appreciate your help, and so I am sorry. Clearly this is what happens when I try to code last thing at night!
OK, so I’ve put the current page template code that the Meet the Lab parent page uses here: http://wordpress.pastebin.com/uvbnN6ck . I’ve highlighted the ‘description’ line which currently comes from the profile page’s biographical info box for each user.
Here is the the page template code for the child pages (those containing info for just one user) : http://wordpress.pastebin.com/gTSgL778
I did try to use your code, but it brought up post content from the news section, not the child page content.
Forum: Fixing WordPress
In reply to: pull the_content from each child, reproduce on parent page.Code can be found on previous post. They’re similar posts, I know, but I’ve reframed the problem to make it a lot more straightforward.
See code here: http://wordpress.org/support/topic/get-page-content-from-each-child-page-to-show-on-parent-page?replies=3
Forum: Fixing WordPress
In reply to: Get page content from each child page to show on parent page.Forum: Fixing WordPress
In reply to: Get page content from each child page to show on parent page.Thanks for the suggestion, but I’m going to try it a different way.
I think I’ll repost a new thread to keep it simple. THis can be deleted i needs be.
Cheers.
Forum: Fixing WordPress
In reply to: using fetch_feed on a pageAny suggestions?