• Resolved y0mannn

    (@y0mannn)


    I have a shortcode from a plugin.
    It is [slider3d_gallery 2000 /]
    I want to add this on my homepage at a specific location.
    I can’t edit my homepage content.
    So i’ll have to add it as HTML.
    The place I want to add it as would replace this:
    <img title=”x” src=”https://xxxxxx/wp-content/uploads/2000/12/xxx.jpg&#8221; alt=””>
    But the problem is: How do I convert that shortcode to HTML
    so I can replace it with that Img

    I’m using latest version, 3.3

    Thanks so much, Merry Christmas

Viewing 7 replies - 31 through 37 (of 37 total)
  • Try to set left padding with this code (now is 30px).

    <?php
    $the_query = new WP_Query( 'page_id=2012' );
    while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
    <div style="padding:0 0 0 30px" >
        <?php the_content(); ?>
    </div>
    <?php endwhile;
    wp_reset_query();
    ?>

    https://www.w3schools.com/css/css_padding.asp

    WP_Q?

    Thread Starter y0mannn

    (@y0mannn)

    Thanks a lot Vjpo,
    All problems solved.
    Just a quick question (for my general knowledge)so I don’t have to create a new topic.

    When i was trying vslider, the code was:

    <?php if (function_exists(‘vslider’)) { vslider(‘abc’); }?>

    If I want to move that to the right (just for testing), how do I adjust it to add “padding thingy” because &nbsp won’t work.

    <?php if (function_exists('vslider')) {
        echo '<div style="padding:0 0 0 30px" >';
        vslider('abc');
        echo '</div>';
    } ?>

    About flash – it’s slow when has big size.

    Thread Starter y0mannn

    (@y0mannn)

    Okay thanks,
    For some odd reason, changing 30 px to any number isn’t moving the slider to either right, or left (though I want to move it to the right)

    Thread Starter y0mannn

    (@y0mannn)

    Nevermind
    All fixed, I Just had to do Float: Yes.
    Didn’t even bother changing 30 px after that.
    Thanks much,
    By the way, do you provide support on MSN?

    do you provide support on MSN?

    I never thought about it ??

Viewing 7 replies - 31 through 37 (of 37 total)
  • The topic ‘Short Code issue please help’ is closed to new replies.