Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #644860

    Hello,

    I created a form to search for cars. For this I created a shortcode. I added this shortcode after a Text-Block. but the code is always on the top of the page. Is there a way to fire this code later or ist there another way?
    http://shop.motor-chiptuning.at/powerbox-chipupdate/

    Thanks Alex

    #644889

    Hey aossi,

    you could use a Code Block Element instead.

    Best regards,
    Andy

    #645056

    Hello, yes but the problem is that I use php inside the script and this is necesasry. Do you have any other idea?

    thx, Alex

    #645935

    Hi Alex,

    You could try creating your own shortcode like this in your functions.php file:

    function avia_my_shortcode() {
    YOUR CODE HERE
    }
    add_shortcode( 'my_shortcode', 'avia_my_shortcode' );

    You should be able to output your code using [my_shortcode] using my example

    Regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.