This topic has 11 replies, 2 voices, and was last updated 10 years by sharmstr.

  • Author
  • #33694
     Sim2K
    Participant

    Before I updated to the latest version of this theme (2.1.1), I had the featured image showing at the top of a page when it had a featured image attached to the page.

    Now I have updated the theme, the featured image is no longer showing but when I go to edit the page, the featured image is still there.

    If you look at this link …

    http://jamrockpeeps.com/me/simeon2k/

    … the image used to show above the text “Whats up, this is Simeon2K. Welcome to my page on JamRock Peeps!” taking up the full width of the coloumn. Its now gone.

    Can this be fixed? What can i do to get this back.

    #33695
     Sim2K
    Participant

    If you go here …

    http://jamrockpeeps.com/me/

    … you will see that 2 pages out of the 8 have had featured images added to them but when you load one of those 2 pages, you can’t see the featured image showing on the page.

    It worked before I updated.

    #34030
     Sim2K
    Participant

    Can anyone help me?

    #34032
     sharmstr
    Moderator

    Can you try resaving your permalinks? You dont have to edit them, just open wp admin -> settings -> permalinks and click save. Thats fixed several of my issues on more than one occasion. Let me know if that works.

    I actually looked at your site when you first posted this, but I couldnt figure out what was going on. I’d need access to the admin to poke around. But since I dont work here….

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #34033
     Sim2K
    Participant

    If you need access, I can grant you access ….

    Is there a private messaging on here ??

    #34036
     sharmstr
    Moderator

    There’s not. I gave out my info before on here and got a terrible from someone so I dont do it anymore.

    Did you try resaving the permalinks?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #34037
     Sim2K
    Participant

    Thats a bit sad …

    Tried a permalink refresh twice, but no go. It happened after i updated the website.

    #34038
     sharmstr
    Moderator

    Can you explain how you’ve set these up? How is http://jamrockpeeps.com/me/ generating all of the member boxes?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #34047
     sharmstr
    Moderator

    I’m working blindly here, so forgive me if I’m way off base. I looked at your page source code and it looks like you’re using Child Pages Shortcodes, so I installed it. I created a Members page and put the child page shortcode into that. Then I created 3 member pages and set them to children of the Members page. In each of those children pages I set a featured image. All three of the child pages showed their featured image on the member listing page.

    But, when I went into the individual child page, the featured image did NOT show up at the top of the page. I cant say for sure if they used to before, I’ll just say that I know how to fix it…. Copy /kleo/content-page.php to your child theme (you are using a child theme, right?). Near the bottom around line 103 you’ll see ‘the_content’. Above that line, add the following

    COPY CODE
    
    <?php the_post_thumbnail(); ?>
    

    So, to summarize.

    1 – Not sure why your featured images are not showing up using the child pages shortcode. It worked for me. Maybe try resaving those pages. And make sure you’re running k-elements 2.1.1 (you can get it here: https://archived.seventhqueen.com/forums/topic/fatal-error-message#post-32651)

    2 – Not sure if the featured image ever showed up on the top of pages like they do in posts using the Kleo theme, but adding the code I gave you will fix it.

    Let me know if any of this works or not 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #34161
     Sim2K
    Participant

    Hey Sharmstr

    THANKS for the help!

    I had created a test site here –> http://test.jamrockpeeps.com/ to give access to you to have a look around but you have already given me the answer! Thanks, and it works! Check it here …

    http://test.jamrockpeeps.com/me/simeon2k/

    Thanks again! Will drop the code on the LIVE site. Might have to create a child site now to keep that one line of code. Bit irritating. It worked before, wonder why it doesn’t work now. Anyway, thanks!

    In answer to your previous question, I have hacked the “PMPro User Pages” plugin. When someone registers, it creates a page for each user under their user name and sets that user as the owner. So the new member now has one page they have ownership of. That page is then set as a child of a page called “Me”.

    I then create a page showing all the child pages of the page “Me” using a plugin to do this. I also use another plugin which allows the member to see a list of all their pages they own, which is just one, at the front end. They can then edit that front page through the front end. This allows the user to have their own personal page on the site that they can do anything too. They can also upload a featured image from the front end and thats what I wanted to use for the top of their page.

    Just looking for a way now that they can add background colours or backgrounds to their personal page.

    Thanks again for your help.

    #34163
     sharmstr
    Moderator

    That’s awesome and very clever. Regarding having users set colors and styles, I’m working on something similar today, but it will be injecting those setting into Visual Composer code since I wanted something more than a vanilla WP page. Basically I designed the page using VC then copied the VC code into my template page which runs the code via the do_shortcode call. You can change the code dynamically by injecting the user settings into the code

    basic example showing the $user_set_color being injected into the shortcode.

    COPY CODE
    
    
    do_shortcode('[vc_row inner_container="yes" text_color="' . $user_set_color . '" section_type="main" bg_position="top" bg_position_horizontal="left" bg_repeat="no-repeat" bg_cover="true" bg_attachment="false" parallax_speed="0.1" padding_top="40" padding_bottom="40" min_height="0" border="bottom" css_animation="right-to-left"][vc_column width="1/1"][kleo_icon icon="android" icon_size="4x" tooltip_position="left" tooltip_action="hover" target="_self"][/vc_column][/vc_row])'
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #34305
     sharmstr
    Moderator

    Well look at this. You’re not imagining things 🙂 : https://archived.seventhqueen.com/forums/topic/featured-image-disappeared-after-update#post-33078

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?