quentinpotgieter (@quentinpotgieter)

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • @quentinpotgieter

    Participant

    Okay great, so all I really had to do is declare the variables first. So in future for everybody else, here is my solution:

    <?php //parent variables
    	$parent = get_post($post->post_parent);
    	$parent_title = get_the_title($parent);
    	$grandparent = $parent->post_parent;
    	$grandparent_title = get_the_title($grandparent);?>
    <div id="a-<?php echo $grandparent_title; ?>">

    Thank you very much Rob for your guidance.

    @quentinpotgieter

    Participant

    Thank you, that still only result in Air Sports

    @quentinpotgieter

    Participant

    Hi, any suggestions?

    In reply to: User Topics Created

    @quentinpotgieter

    Participant

    Awesome. I understand completely. It is such an easy “must have” php101, but I do not do a lot of these kind of things and really appreciate your assistance. All I need to do now is get the css linked.

    Awesome thank you.

    In reply to: User Topics Created

    @quentinpotgieter

    Participant

    Basically i have various forums:
    1. Forum
    2. Classifieds
    3. Volunteers
    4. Sponsors

    I need to show the user their topics separately:
    1. Forum – Your topics
    2. Classifieds – Your Ads
    3. Volunteers – Your Opportunities
    4. Sponsors – Your Opportunities

    I will use css to achieve hiding unneeded forum id’s, but need to create a page template to return all the user’s topics.

    In reply to: User Topics Created

    @quentinpotgieter

    Participant

    My apology, thank you for your response. I need to use the loop in the user-topics-created.php that shows the user’s created topics within my own page template with the header and footer. I need to make different page templates that will be exactly the same, but using css show/hide different forum categories.

    Do you need a link to the site in example?

    Is it possible to create my own page template to loop the user’s created topics?

    I will be more patient to your response, but looking for a solution before end of Monday if possible.

    Thank you.

    In reply to: User Topics Created

    @quentinpotgieter

    Participant

    Can someone please assist me.

Viewing 7 replies - 1 through 7 (of 7 total)