New Topic

pmichaels

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Different Slider for different pages with same template #1125

    pmichaels
    Participant

    Okay, would it not be better to respond with testing results? Do you have any results and can you pinpoint the issue?

    in reply to: Different Slider for different pages with same template #1116

    pmichaels
    Participant

    the quotation marks are straight.

    I think the IF statement is broken.
    Is this line correct: if ( is_home() && $options[‘slider’] ) ?
    The original code works fine. but for some reason the code as listed earlier results in a blank page.

    in reply to: Different Slider for different pages with same template #1113

    pmichaels
    Participant

    I have been able to make a child theme work with two different sliders using the single line php code. When I try to use the php if condition code from your reference I get a blank page using this code:
    <?php
    if ( is_home() && $options[‘slider’] ) {
    echo ‘<div id=”slider”>’.do_shortcode(‘[nivoslider slug=”slider”]’).'</div>’;
    elseif ( is_page(39) ) {
    echo ‘<div id=”slider”>’.do_shortcode(‘[nivoslider slug=”slider2″]’).'</div>’;
    } else {
    }
    ?>

    I know the page id is 39 for the second page. The static index page is listed a page id 2. I can not seem to get the correct if statement to work.

    in reply to: StartUp Pro Options #312

    pmichaels
    Participant

    I think my problem is that you have to TURN ON  with the check boxes the function below.  I missed the orientation of the check boxes as switches for the lower functions.

    in reply to: StartUp Pro Options #311

    pmichaels
    Participant

    With regard to how I am entering these options, this is your page – maybe you could provide an example for each of the three questions.  I have not been able to enter the custom contact information.  I have tried plain text in the box, I have tried – <div class="details">123.456.7890 | <a href="mailto:email@website.com">email@website.com</a></div> - in the box and nothing seems to load.  Could you supply a few examples.

     

     

    in reply to: StartUp Pro Options #310

    pmichaels
    Participant

    The goal was to set the size of the page to 800 px.    What does “Maximum Layout Width” mean, and how do you set the size of the pages on the site?

     

     

Viewing 6 posts - 1 through 6 (of 6 total)