Forum Replies Created

Viewing 15 replies - 91 through 105 (of 110 total)
  • Thread Starter MaddTechWF

    (@maddtechwf)

    Is this going to display the Child’s name or ID?

    MaddTechWF

    (@maddtechwf)

    I noticed that this post is similar to what I was looking for. I’m hoping that there is a way that I can use the above code but have it the subcategories of the current page selected. I have the code placed in the sidebar via a PHP Text Widget.

    Thread Starter MaddTechWF

    (@maddtechwf)

    yes but like 3 updates ago.

    Thread Starter MaddTechWF

    (@maddtechwf)

    They are both JPG’s. I tried a different image and it too could not be displayed.

    Thread Starter MaddTechWF

    (@maddtechwf)

    Okay. I have a page called Services.php. That page calls the get_header() and get_footer() commands like normal. I have a page called Services that has a template associated to it called Services.

    I need to setup the services template to show all the services post using the above template.

    Thread Starter MaddTechWF

    (@maddtechwf)

    I do… I want to load them this way. That was just an example.

    Thread Starter MaddTechWF

    (@maddtechwf)

    <div class="service">
                    	<img class="services_icon" SRC="images/internet_marketing_icon.jpg" alt="Internet Marketing" />
                        <div class="service_text">
                            <h5>Internet Marketing</h5>
                            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy and scrambled it to make a type specimen book. It has survived not only five centuries.</p>
                            <p>But also the leap into electronic typesetting, remaining essentially unchanged orem Ipsum has been the industry's standard dummy text ever since the beggining. </p>
                            <a class="related_projects" HREF="work.html">View related projects</a>
                        </div>
                    </div>
                    <!-- .service -->
    
                    <div class="service services_no_margin">
                    	<img class="services_icon" SRC="images/website_design_icon.jpg" alt="Internet Marketing" />
                        <div class="service_text">
                            <h5>Website design & Development</h5>
                            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy and scrambled it to make a type specimen book. It has survived not only five centuries.</p>
                            <p>But also the leap into electronic typesetting, remaining essentially unchanged orem Ipsum has been the industry's standard dummy text ever since the beggining. </p>
                            <a class="related_projects" HREF="work.html">View related projects</a>
                        </div>
                    </div>
                    <!-- .service -->
                    <div class="clear_container"></div>

    I need to be able to take the above code and run a loop on it to show my services. How?

    Thread Starter MaddTechWF

    (@maddtechwf)

    That doesn’t really help on how to tell it to print two posts across and as many rows down as needed to display all posts of that category type.

    Thread Starter MaddTechWF

    (@maddtechwf)

    Well I have a parent category called Test with children called ctest1, ctest2, and ctest3.

    When I click on TEST I want it to load my page and load my Menu2 with its children. I then want to be able to click on one of the children and have it load the posts related to it.

    I know how to do it with CSS but I’m confused on how I would code it with WP.

    Thread Starter MaddTechWF

    (@maddtechwf)

    I just found my answer here

    li.categories { ... }  /* outermost list item */
     li.cat-item { ... }
     li.cat-item-7 { ... }  /* category ID #7, etc */
     li.current-cat { ... }
     li.current-cat-parent { ... }
     ul.children { ... }
    Thread Starter MaddTechWF

    (@maddtechwf)

    I don’t have the theme up. I’m currently working on it. I’m using the <?php wp_list_categories('arguments'); ?> and want to apply a selected theme to the current item selected. I just wasn’t sure what code snippet to put in my CSS that would tell it to change the font color of the selected item.

    Thread Starter MaddTechWF

    (@maddtechwf)

    I was doing some searching and came across this little bit of code to list all of the children of a category.

    <?php
    if (is_category()) {
      $this_category = get_category($cat);
      if (get_category_children($this_category->cat_ID) != "") {
        echo "<h1>Subcategories</h1>";
        echo "<ul>";
        wp_list_categories('orderby=id&show_count=0&title_li=
    &use_desc_for_title=1&child_of='.$this_category->cat_ID);
        echo "</ul>";
      }
    }
    ?>

    I want to use it with the code you provided me before to create a second menu that has all of my subcategories for that page.

    Thread Starter MaddTechWF

    (@maddtechwf)

    What would I need to change if I wanted to apply this to a secondary menu also.

    Thread Starter MaddTechWF

    (@maddtechwf)

    In the Function.php page do I need to put

    <a HREF="about-2520us.html">About us</a>

    or something else?

    Forum: Fixing WordPress
    In reply to: Custom Page
    Thread Starter MaddTechWF

    (@maddtechwf)

    I added the 4 lines but it messed up my entire theme to my site. I’m hoping someone at the plogger forums can help me with this part now. Thanks for the help everyone.

Viewing 15 replies - 91 through 105 (of 110 total)