• Resolved samet05

    (@samet05)


    PHP kod değişiklikleriniz wp-content/themes/neve/header.php dosyasındaki satır 48 yüzünden geri alındı. Lütfen düzeltin ve tekrar kaydetmeyi deneyin.

    syntax error, unexpected ‘<‘, expecting end of file

    Bu hata kodunu alıyorum smart slider 3.4 sürümünde tema header üst bölüme eklediğim smart slider ın verdiği vermiş olduğu kod dizininde böyle bir hata kodu veriyor yardımcı olurmusunuz

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @samet05

    We also received your support ticket, where you described another syntax error that was pointing to the echo function in your header.php file.
    So please check if the syntax of your PHP code is actually fine at your header.php file.

    Here you can find proper examples for the way you can publish your slider using PHP code:
    https://smartslider.helpscoutdocs.com/article/1720-publishing-on-wordpress#php
    however please make sure if you already opened a PHP code block with the “<?php” then you don’t need to add that part again, it is enough if you simply publish the slider like:
    echo do_shortcode('[smartslider3 slider=1]');
    the same is true for the closing tag “?>”, which shouldn’t be added either, if your theme have a closing PHP tag already there!

    In your support ticket I gave you other suggestions as well, could you check my reply there, please?

Viewing 1 replies (of 1 total)

The topic ‘smart slider php kodu hatasu’ is closed to new replies.