WordPress.org

Ready to get started?Download WordPress

Forums

Special Recent Posts
[resolved] Change dimensions of the thumbnail? (4 posts)

  1. tckrockz
    Member
    Posted 1 year ago #

    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/

  2. Luca Grandicelli
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. tckrockz
    Member
    Posted 1 year ago #

    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.

  4. Luca Grandicelli
    Member
    Plugin Author

    Posted 1 year ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.