• Anonymous User 15121717

    (@anonymized-15121717)


    Hi, sorry, my PHP knowledge is limited. I’m trying to leave out the Link text all together and just have a horizontal bar of Instagram posts on top of my .site-info without any margin or padding. Simply leaving it blank in Widgets does take it away but it also makes the Instagram posts disappear. Am I doing something wrong? Thanks ahead.

Viewing 1 replies (of 1 total)
  • You are not doing anything wrong. If you know little bit about using FTP. Then, follow my instructions:
    1. Go to your current theme and make a folder name it “parts” in all lower case.
    2. Create a new file inside “parts” folder using textedit or notepad, and name “wp-instagram-widget.php” & save it.
    3. Add following code and save it.

    <?php
    // It is a WP Instagram Widget template
    echo '<li class="'. esc_attr( $liclass ) .'"><a href="'. esc_url( $item['link'] ) .'" target="'. esc_attr( $target ) .'"  class="'. esc_attr( $aclass ) .'"><img src="'. esc_url( $item[$size] ) . '"  class="'. esc_attr( $imgclass ) .'"/></a></li>';

    4. Using FTP, upload entire “parts” folder to your current theme directory.

    If you are going to use plugin often. Then, save it in some place safe.
    Please, let me if it doesn’t work.
    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Leaving out the Link text’ is closed to new replies.