Beim installieren zweier Plugins brauche ich Hilfe

  • Hallo,
    ich wollte in meinen Blog das Plugin Simple Video Embedder und Simple Post Thumbnails installieren. Ich hab mir die ReadMe durchgelesen, und verstehe da bei beiden etwas nicht.

    Bei Simple Video Embedder:
    1. Upload the plugin file to your `wp-plugins/` folder.
    2. Go the plugin management page and activate the plugin.
    [COLOR=Red]3. Add the `p75GetVideo(int $postID)` to your theme.[/COLOR]
    4. Go to Settings > Video Options to configure default values.

    Bei Simple Post Thumbnails:
    [COLOR=Red]1. Make sure that your host has the GD graphics extension for PHP enabled.[/COLOR]
    2. Upload the plugin file to your `wp-plugins/` folder.
    3. Go the plugin management page and activate the plugin.
    [COLOR=Red]4. Add the `p75GetThumbnail(int $postID, [int $width, [int $height, [string $fileType]]])` function to your theme to get the URL of a thumbnail and `p75GetOriginalImage(int $postID)` to get the URL to the original image.[/COLOR]
    5. Go to Settings > Thumbnail Options to configure default values for the plugin.

    Kann mir einer hlefen?
    DANKE!

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • [COLOR=Red]3. Add the `p75GetVideo(int $postID)` to your theme.[/COLOR]


    Du sollst den Funktionsaufruf in deinem Theme einbauen, dort wo du die Ausgabe gerne hättest.

    Zitat

    [COLOR=Red]1. Make sure that your host has the GD graphics extension for PHP enabled.[/COLOR]


    http://faq.wordpress-deutschland.org/wie-erfahre-ic…ngerichtet-hat/
    Da steht irgendwo was von "GD Lib Support" oder so ähnlich. Oder frag mal freundlich beim Hoster an.

    Zitat

    [COLOR=Red]4. Add the `p75GetThumbnail(int $postID, [int $width, [int $height, [string $fileType]]])` function to your theme to get the URL of a thumbnail and `p75GetOriginalImage(int $postID)` to get the URL to the original image.[/COLOR]


    Siehe oben.

  • Hilfe hier

    Also du musst es in der index.php und in der single.php einfügen undzwar reicht es vollkommen, wenn du: p75GetThumbnail
    ach und bei den einstellungen gibts den punkt tumbnail options ... dort musst du dir die größe einstellen und dann die bilder auch so einspeichern ...
    einfach da einfügst was ich rot markiert habe ...
    jeweils wie gesagt auf der single.php und auf der index.php
    falls dir noch auffäält das es in der category.php auch benötigt wird kannst du es auch da einfügen ...

    is schon echt schwach das hier ein amateure wie ich sich 4 stunden befassen musste ...

    <?php get_header(); ?>

    <div id="content">

    <div id="main">

    <?php $count = 1; ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    <div class="postbox" id="post-<?php the_ID(); ?>">

    <div class="day-<?php the_time('d') ?>">
    <span class="themonth"><?php the_time('M') ?></span>
    </div>

    <div class="thepost">

    <a href="<?php the_permalink() ?>#comments">
    <div class="postcomments">
    <?php comments_number('0', '1', '%'); ?>
    </div>
    </a>

    <h2><a href="<?php the_permalink() ?>" title="<?php the_title() ?> - Click Here to Read the Rest of This Entry"><?php the_title() ?></a></h2>

    <div class="postdets">
    <?php the_category(','); ?>
    </div>

    <div class="postthumb" style="display: <?php echo get_option('toggle_thumbnails'); ?>;">
    <a href="<?php the_permalink() ?>" title="Continue Reading: <?php the_title() ?>"><img class="postimage" style="background: url(<?php $key="thumbnail"; echo [COLOR="Red"]get_post_meta[/COLOR]($post->ID, $key, true); ?>) top left no-repeat;" src="<?php bloginfo('template_url'); ?>/images/postimage.png" jg="imghover" jg:imghover="fade:false,src:'<?php bloginfo('template_url'); ?>/images/postimage.alt.png'" alt="<?php the_title() ?>" /></a>
    </div>

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!