Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Natsuki

    (@natsuki)

    It works! Thank you SO much for taking the time to help me out! I could never have solved this myself. So thank you! Again. ??

    Thread Starter Natsuki

    (@natsuki)

    I think I’ve managed that part, but you never know!

    The site’s at: https://borgaruddenscamping.se/utveckling/

    Sorry if it’s still a bit messy. ??

    Thread Starter Natsuki

    (@natsuki)

    I still can’t get it to work. :S
    If I just paste the PHP code into the new functions.php I get an error, so I put in a php open tag in there too. Now I get no errors but the img is still wrapped in p’s.

    I tried to put in a favicon with this code from the Codex article, just to see if it works.

    function favicon_link() {
        echo '<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />' . "\n";
    }
    add_action('wp_head', 'favicon_link');

    But nothing happens there either. I read somewhere that you need to name the functions with the parent themes name and the childtheme, like this: twentyeleven_childtheme_some_function. Is this applicable? Or am I just heading in the completely wrong direction? I did try just in case, but I didn’t get it to work, maybe I misunderstood something.

    And btw, I really appreciate the help, so thanks. ??

    Thread Starter Natsuki

    (@natsuki)

    When I do this I get the following error message:

    Fatal error: Cannot redeclare twentyeleven_excerpt_length() (previously declared in /Users/Terese/Sites/borgarudden_childtheme/wp-content/themes/borgaruddenchild_3/functions.php:318) in /Users/Terese/Sites/borgarudden_childtheme/wp-content/themes/twentyeleven/functions.php on line 320

    Thread Starter Natsuki

    (@natsuki)

    I’m using twenty eleven as the parent theme as I thought it might be smart…
    I found a showcase.js and a html5.js, and I’m guessing it’s showcase you’re after..(?) Tell me if I’m wrong!

    Pastebin here: https://pastebin.com/m4WQgtdZ

    (Haven’t used pastebin before either, so if I missed something, just tell me!)

    Thanks for helping!

Viewing 5 replies - 1 through 5 (of 5 total)