WordPress.org

Ready to get started?Download WordPress

Forums

3.5 doesn't show the images of my newly added posts. (15 posts)

  1. ricktallis
    Blocked
    Posted 1 year ago #

    Hey guys,

    Thanks a whole lot for the new upgrade. Unfortunately I’ve been experiencing some difficulties while working with the new updates and I’ve been reading all of the related posts all day long but bad luck they didn’t help me, taken from disabling the plugins, clearing my cache or adding some codes to my wp-config file, I reinstalled the wrodpress again, I read the list suggested on many similar posts but it just doesn’t work and I’m getting this issue after upgrading to 3.5 like all the others.

    When I insert an image to my posts through the new marvelous media manager, it’s like something in my template doesn’t see the added images in the new posts and for that the image will not be displayed on any of my posts, taken from the feeds I have added to the first page or even the single post page. When I change my theme to twenty eleven the picture of the new post appears on the single post page but again it won’t be shown on the first page feeds. It kindda suggests that there has been some drastic changes in the wordpress tags and codes & API where none of my previously used codes are able to meet or call the newly added pictures from my data base or gallery and if it was so, it shouldn’t have shown the pictures of my previously posted posts either, but it kindda translates to a new conflict that there might have been some issue through the uploading process or inserting pics process via the new media manager.

    I would be highly appreciative if you find it possible to help me with it.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    It kindda suggests that there has been some drastic changes in the wordpress tags and codes & API where none of my previously used codes are able to meet or call the newly added pictures from my data base or gallery

    That is definitely not the case. Any theme or plugin coded to wordpress.org standards should still be working just fine on older posts. Anything less and we would have had hordes of screaming users besieging these forums.

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

  3. ricktallis
    Blocked
    Posted 1 year ago #

    like I mentioned I have deactivated all of the plugins and based on your suggestion I removed them all minutes ago and re-uploaded the plugin folder without any plugin at all, but bad luck the issue is still there. I have made a post on my first page.
    to show the issue. http://www.ricktallis.com but unfortunately it is not solved yet.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    And the other steps?

  5. ricktallis
    Blocked
    Posted 1 year ago #

    I will re upload all of the files except the content folder again and will get it back. thanks again for your quick respond.

  6. ricktallis
    Blocked
    Posted 1 year ago #

    I did as you told me esmi but unfortunately it's not there should I write in my function code and how I call them from my library? but again the question remains unanswered why I still have all of my previously added posts intact and as they are supposed to be and why I can't get the same on the new update?

    this is my function.php

    <?php
    
    // this is needed for dynamic sidebar widget support
    
    if ( function_exists('register_sidebar') )
    
        register_sidebar();
    
    function yui_doc ()
    
    {
    	echo 'doc1';
    }
    
    function yui_secondary_column ()
    
    {
    	echo 'yui-t4';
    }
    
    if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9  
    
        add_theme_support( 'post-thumbnails' );  
    
        set_post_thumbnail_size( 200, 124, true ); // Normal post thumbnails  
    
        add_image_size( 'single-post-thumbnail', 500, 9999 ); // Permalink thumbnail size 
    
        add_image_size( 'rick-thumb', 100, 100, true );
    
        add_image_size( 'rick-wide', 356, 99, true );
    
        add_image_size( 'rick-side-right', 100, 58, true );
    
        add_image_size( 'last-release', 356, 278, true );
    
        add_image_size( 'nextprev', 144, 89, true );
    
        add_image_size( 'sidebar-ex', 356, 140, true );
    
        add_image_size( '2012-thumb', 298, 168, true );
    
        add_image_size( '2012-low', 298, 198, true );
    
        add_image_size( '2012inposts', 398, 246, true );
    
        add_image_size( '2012-side-right', 298, 70, true );
    
    }
    
    function remove_images( $content ) {
       $postOutput = preg_replace('/<img[^>]+./','', $content);
       return $postOutput;
    }
    add_filter( 'the_content', 'remove_images', 100 );
    
    function new_excerpt_more($more) {
           global $post;
    	return '...';
    }
    add_filter('excerpt_more', 'new_excerpt_more');
    function custom_excerpt_length( $length ) {
    	return 34;
    }
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999);
    
    ?>

    and this is how I call them on my single post page.

    <?php if ( has_post_thumbnail())
    	{$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large');
    	echo '<a href="' . $large_image_url[0] . '" title="' . the_title_attribute('echo=0') . '">';
    	the_post_thumbnail('2012inposts');
    	echo '</a>';
    	} ?>
    
    	<?php the_content(); ?>

    thanks.

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    http://www.ricktallis.com doesn't appear to be a WordPress site.

  8. ricktallis
    Blocked
    Posted 1 year ago #

    I'm not following you, what exactly you meant by saying doesn't appear to be a wordpress site?!

  9. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I examined the source markup of the home page and it doesn't appear to be using WordPress.

  10. ricktallis
    Blocked
    Posted 1 year ago #

    You examined the source? then what is the point of me being here asking my question? like it might be a joomla website or a movable type website and I'm asking my questions from wordpress support center?!

    be kind to examine this then, http://www.ricktallis.com/news/

  11. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You examined the source?

    Yes. We do that a lot on WP sites that are experiencing problems.

    then what is the point of me being here asking my question?

    That's something we would like to ask of people who post here about their Joomla, blogspot or A.N.Other sites. Proving a link to an actual WordPress install (as opposed to a non-WP site that has a WP blog on it somewhere) helps tremendously. We're good but we're not psychic.

    In this case, it would also be helpful to know what theme the blog is using and where that theme was downloaded from.

  12. ricktallis
    Blocked
    Posted 1 year ago #

    I have developed my own theme!!!!!!!!!!!!!!!!!!!!!!!!!! The tags I’m adding here are wordpress tags don’t you see the tags?!!!!!! What is the connection between movable type/joomla/mambo tags and wordpress tags?!!!!!!

    [Unnecessary & insulting comments moderated]

    and to get you a bit educated about what you see on the first page of my website you instert this code right after your body and you add your wordpress tags after it

    <?php
    // Include blog
    define('WP_USE_THEMES', false);
    require('./news/wp-load.php');
    ?>
  13. ricktallis
    Blocked
    Posted 1 year ago #

    and this was the theme I had downloaded and customized for my own uses.

    openark-blog.1.1 search for it and you'll find it in wordpress themes.

  14. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I have developed my own theme!!!!!!!!!!!!!!!!!!!!!!!!!!

    Good for you :-)

    The tags I’m adding here are wordpress tags don’t you see the tags?!!!!!!

    I asked what theme the blog is using and where that theme was downloaded from. That sorta implies that I was aware that the blog was using WordPress once I'd been given the correct url.

    What is the connection between movable type tags and wordpress tags?!!!!!!

    Who said anything about Movable Type?

    Since this is a custom theme, the issues are likely to be within your theme. You may have to start working on it to make it compatible with WordPress 3.5. The original theme hasn't been updated on over 2 years. There have been roughly 6 or more WordPress updates since then - some of them fairly major.

    I'd also suggest that you moderate your responses if you wish to continue receiving assistance here.

  15. phix3000
    Member
    Posted 9 months ago #

    I think esmi is right.
    Your theme does not seem to be using the wordpress markup.

    And also you seem to be a bit rude. Sorry.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.