New Landing How can we help? Themeforest Theme Support Dante Problem with Thumbnails in new Portfolio entry.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Dante
  • #261127
    Paweł M.
    Member
    Post count: 23

    Hi, i have a problem.
    Today I had to change a test domain (http://lisewo.madry.nazwa.pl) to the domain purchased by the customer (http://killisewo.com.pl) so I used this two update option and put it to the function.php.

    
    update_option('siteurl','http://killisewo.com.pl');
    update_option('home','http://killisewo.com.pl');
    

    Everything works fine except adding a new Pictures and Thumbnails in Thumbnail Options (in posts, portfolio item). Thumbnail loads in a strange way. When i upload new thumbnails I can only see this code without a thumbnail:

    
    <# _.each( attachments, function( attachment ) 
    { #> <# if ( attachment.sizes.hasOwnProperty( 'thumbnail' ) ) 
    { #> <# } else { #> <# } #> <# } ); #>
    

    I don’t really know what’s going on because previously everything worked just as it should be. I add some screenshots when thumbnails upload file correctly and how it looks now. At now I have only two portfolio items in my site ‘akcja mis’ and ‘kultura dostepna’ in my menu : Projekty/Zrealizowane Projekty/.

    Attachments:
    You must be logged in to view attached files.
    #261375
    Paweł M.
    Member
    Post count: 23

    Hello i think that the problem is with the new wordpress update.
    Yesterday I tested the new test site with a Dante theme and new WordPress 4.5 and the problem still occurs.

    When are You updating a theme guys 🙂 ?

    #261380
    Paweł M.
    Member
    Post count: 23

    Ok, now i update my Dante theme to 3.2.6 version but problem still exists. And I don’t know how to deal with this.

    #261426
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please deactivate all plugins and check it.
    Thanks
    Mohammad

    #261446
    Paweł M.
    Member
    Post count: 23

    Hi,
    it’s works!
    Thanks for that Mohammad. Now i am seing my projects again.
    But still when i am adding new thumbnail image to project i see some PHP code. Only when i update the post or project or publicate new i am seing a correct thumbnail. I don’t know what’s happen there. Soon someone else will be add some new entries and this is bad situation for me. I attach some screens maybe it can tell you something.

    Attachments:
    You must be logged in to view attached files.
    #261707
    David Martin – Support
    Moderator
    Post count: 20834

    Did this not happen before you manually updated the DB?

    If you run this plugin: https://wordpress.org/plugins/regenerate-thumbnails/ does that improve things?

    Thanks.

    #263495
    Paweł M.
    Member
    Post count: 23

    Yes this is it, now everything working just great. Thanks.
    But i have a second problem with my picture in portfolio entry. Some padding option don’t work properly. I upload to the server one screenshot, maybe you can help me some css tricks. Thank you a lot.

    Attachments:
    You must be logged in to view attached files.
    #263754
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    What’s the link to that page?

    – Kyle

    #263968
    Paweł M.
    Member
    Post count: 23
    #263979
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    .portfolio-options-bar {
      height: 40px;
    }
    .portfolio-item-content figure.media-wrap {
      padding: 0;
    }

    – Kyle

    #264193
    Paweł M.
    Member
    Post count: 23

    Thanks Kyle. This was it. Now everything looks as it should be.

    #264194
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register