WordPress.org

Ready to get started?Download WordPress

Forums

Social Media Widget
Custom link (2 posts)

  1. thebizconnection1
    Member
    Posted 4 months ago #

    Alright, so as the title says I want to be able to have a custom link in this widget, but the image I have is only a .png file on my computer. I tried creating a new folder and use custom icons with a fullpath.php file `<?php
    $dir = dirname(__FILE__);
    echo “<p>Full path to this dir: ” . $dir . “</p>”;
    echo “<p>Full path to a .htpasswd file in this dir: ” . $dir . “/.htpasswd” . “</p>”;
    ?>`to find the path for the image. However, using this I am sent to a page saying 403: Forbidden. so what am I doing wrong? Any suggestions?

    https://wordpress.org/plugins/social-media-widget/

  2. thebizconnection1
    Member
    Posted 4 months ago #

    <?php
    $dir = dirname(__FILE__);
    echo “<p>Full path to this dir: ” . $dir . “</p>”;
    echo “<p>Full path to a .htpasswd file in this dir: ” . $dir . “/.htpasswd” . “</p>”;
    ?>

    sorry the code didn't post correctly

Reply

You must log in to post.

About this Plugin

About this Topic