WordPress.org

Support

Support » Plugins and Hacks » Special Recent Posts » [Resolved] [Plugin: Special Recent Posts] Change dimensions of the thumbnail?

[Resolved] [Plugin: Special Recent Posts] Change dimensions of the thumbnail?

  • When I try to change the height using the html codes given above I am getting an error message on the front page.

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘)’ in xxx/tabs.php on line 64

    I tried to use the following code;

    ‘thumbnail_link’ => ‘yes’

    (not just the code I included the full code. The plugin was working with fine with the previous version this came up when I updated.)

    Thanks

    http://wordpress.org/extend/plugins/special-recent-posts/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Luca Grandicelli

    @lgrandicelli

    i’m sorry, what is tabs.php? I don’t understand.

    I fixed the issue. I altered the default dimensions of the plugin. You need to make some adjustments to your installation guide buddy.

    // Set thumbnail width (default 100)
    'thumbnail_width' => digit
    
    // Set thumbnail height (default 100)
    'thumbnail_height' => digit

    When I tried to use the above code in a PHP file I got the above error. When I looked in the plugin php it looks like this;

    // Set thumbnail width (default 100)
    'thumbnail_width' => 100<strong>,</strong>
    
    // Set thumbnail height (default 100)
    'thumbnail_height' => 100<strong>,</strong>

    That , seems to have caused the above problem for me it seems.

    Plugin Author Luca Grandicelli

    @lgrandicelli

    Well buddy, i don’t see why i should adjust my installation guide.
    “digit” stands for a numerical value and as stated on the label, its default is 100.
    Did this mislead you?

    Also, what is the exact code you used that didn’t work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Special Recent Posts] Change dimensions of the thumbnail?’ is closed to new replies.
Skip to toolbar