Support for Envato Buyers Forums Samsara Hidden Rev Slider + Scrolling Order

Viewing 25 reply threads
  • Author
    Posts
    • #6966
      radafilmgroup
      Participant

      Hello,

      We hired a developer to create a website for our company and she used samsara. However, she has left the country and is completely out of contact and I’m having some trouble with a few aspects of the site. I’m trying to edit a revolution slider on one page but when I tried to replace it I got this error message: http://radafilm.com/services/media-production/. I must’ve deleted the original slider when attempting to replace it but I can’t find where she imbedded it and thus cannot edit it. The one on the bottom is visible and editable on the back end but I don’t understand why the page is now split. Can you tell me where the original slider may have been imbedded?

      Also, if you click on one of the films on that page it takes you to a separate page. At the bottom there is the option to go the the previous post on the page or the next post but it scrolls backwards. For example, if you click on American Promise, Hispaniola should be the previous post, but it is listed as the next post. Is there anyway to reverse this?

      I would appreciate your help!

    • #6968

      Hi

      1. You should edit the page which set for the front page (You can see which page she set for in “Settings > Reading”), I can see this page id is 564 and page name is “media production”. When you edit this page, I think you can reselect the revolution slider via “Visual Composer” screen, if you still can’t find it, please leave me your wp login details with private reply and tell me the name of your revolution slider.

      2. Actually, it’s correct. The portfolio post is ordered by the date, the publish time of “Hispaniola” is later than “American Promise”, so “Hispaniola” is the next post, and it should be in front of the “American Promise”.

      Thanks

    • #6972
      radafilmgroup
      Participant
      This reply has been marked as private.
    • #6974
      radafilmgroup
      Participant
      This reply has been marked as private.
    • #6977

      Hi

      Check this page now. http://radafilm.com/services/media-production/

      Just edit media production page, put [rev_slider Media_Intro_Page] into “Shortcode of Revolution Slider” field, that’s it.
      Refer to this picture: https://www.dropbox.com/s/vy1ryq5l2fnbql3/3A0A2C4E-4772-4925-B5F8-C3419A8220E9.png?dl=0

      Now you just need to remove the second revolution slider which you have added via Visual Composer.

    • #6994
      radafilmgroup
      Participant

      Thank you. I appreciate the help!

      I still wanted to ask about the media production page and the scrolling. On the media production page the more recent film is on the left. Using American Promise again as an example, Hispaniola is more recent and it’s on the left. The previous film is on the right, so that would be Haiti One Day One Destiny. When you click on American Promise however, the previous post lists Hispaniola on the right and the next post lists Haiti One Day One Destiny on the left. Is there any way to make it so the gallery matches what is listed under previous and next post when you click on a specific film?

    • #6997

      Actually, there’s no problem with the position of previous/next, it’s depended on the wordpress core function.
      If you like, you can edit single-portfolio.php, find the following code

      <?php previous_post_link('<strong class="prev">'.__('&laquo; Previous Post').' <br />%link</strong>'); ?>
                   <?php next_post_link('<strong class="next">'.__('Next Post &raquo;').'<br />%link</strong>'); ?> 

      Just change the position to each other.

    • #7010
      radafilmgroup
      Participant

      Where do I paste this code? I’m not seeing a place on the Media Production page or in the portfolio page. On the media production page I can choose to sort by date, title, comment count, or random but there’s not space for a code. Where can I find the first code to replace it?

    • #7012

      I meant you need to edit single-portfolio.pho file which is in the theme folder if you want to change the next/prev position.

    • #7128
      radafilmgroup
      Participant

      I’m still confused. I’ve never used word press before, so I apologize for asking so many questions. Where exactly can I find this code? I see on the back end homepage there’s “Samsara Options” but I’m not finding the code you sent. I also can’t find the Theme Folder. I tried going to “Portfolios” on the sidebar but I still didn’t see any place on that page. Where exactly do I need to go? I appreciate all your help!

    • #7135

      Let’s me say it more detailed.

      You can edit this file via theme editor.

      1. Go to Appearance > Editor, then you can see many file name at the right side of the screen, just find single-portfolio.php, click it.

      2. You will see all codes of this file in the editor, just find

      <?php previous_post_link('<strong class="prev">'.__('&laquo; Previous Post').' %link</strong>'); ?>
      <?php next_post_link('<strong class="next">'.__('Next Post &raquo;').'%link</strong>'); ?>

      Change to

      <?php next_post_link('<strong class="next">'.__('Next Post &raquo;').'%link</strong>'); ?>
      <?php previous_post_link('<strong class="prev">'.__('&laquo; Previous Post').' %link</strong>'); ?>

      3. Save it, that’s it.

    • #7144
      radafilmgroup
      Participant

      I pasted the code like you said but now I’m getting an error message: http://radafilm.com/portfolio/american-promise/
      This is how I pasted it into the single-portfolio.php:

      <div class=”post_navi”>
      <?php next_post_link(‘<strong class=”next”>’.__(‘Next Post »’).’%link‘); ?>
      <?php previous_post_link(‘<strong class=”prev”>’.__(‘« Previous Post’).’ %link‘); ?>
      </div><!–main–>
      </div><!– container –>
      <?php endwhile;?>
      <?php get_footer();?>

      How should I fix it?

    • #7148

      Please download this updated file https://www.dropbox.com/s/bfs8vuf96u9a1x8/single-portfolio.rar?dl=0 unzip it, upload it to wp-content/themes/samsara/ folder via FTP.

      I’m not sure why you paste

      </div><!–main–>
      </div><!– container –>
      <?php endwhile;?>
      <?php get_footer();?>

      It causes syntax error

    • #7155
      radafilmgroup
      Participant

      Thank you but there are still issues. I uploaded the file and now I can see the film pages but all the images are missing. There used to be a image gallery/embedded trailers for each film. Also the navigation bar has disappeared. Can you make them visible again? I’m on a deadline and it seems like I’m not able to make the corrections myself without other issues occurring. Would it be possible for you to fix these things? I believe I provided the wp login information earlier, if you need anything else let me know.

    • #7158
      radafilmgroup
      Participant

      Okay, I do see the navigation bar. I think something was wrong with my browser. But the images for each film are still gone: http://radafilm.com/portfolio/band/ and the trailers are no longer full screen. How can I get those pages back to how they were originally? Thanks for your help.

    • #7165

      I’m confused that all the issues you said are not related with this updated file. Have you changed any settings?
      Could you tell me your wp login details again? I can’t find it if you told me before.

      Thanks

    • #7168
      radafilmgroup
      Participant
      This reply has been marked as private.
    • #7172

      Hi

      I logined admin and checked the files in theme editor, and I found single-portfolio.php is missing, please unzip this file https://www.dropbox.com/s/bfs8vuf96u9a1x8/single-portfolio.rar?dl=0 upload the php file to wp-content/themes/samsara/ folder

      I don’t have ftp account, so I can’t help you to upload it.

      Thanks

    • #7185
      radafilmgroup
      Participant

      The page has gone back to normal, thank you. So now to fix the original problem of switching the placement of “previous” and “next” do I need to use the codes you gave me?

      2. You will see all codes of this file in the editor, just find

      ?
      1
      2
      <?php previous_post_link(‘<strong class=”prev”>’.__(‘« Previous Post’).’ %link‘); ?>
      <?php next_post_link(‘<strong class=”next”>’.__(‘Next Post »’).’%link‘); ?>
      Change to

      ?
      1
      2
      <?php next_post_link(‘<strong class=”next”>’.__(‘Next Post »’).’%link‘); ?>
      <?php previous_post_link(‘<strong class=”prev”>’.__(‘« Previous Post’).’ %link‘); ?>
      3. Save it, that’s it.

      I’m hesitant to try that again because last time it resulted in an error message. Is that something you would be able to do? Or what did I do wrong before? Thanks again for your help.

    • #7189

      This file is updated file, it means I have already helped you to changed the code, so you don’t need to change anything, you can see the position of next/previous link is changed.

      I don’t know what’s wrong you did, I just guess that there’s something wrong with the syntax.

      Thanks!

    • #7191
      radafilmgroup
      Participant

      Okay I see that they are switched, thank you. I just have one more question. I’m looking at Band (http://radafilm.com/services/media-production/) right now in the gallery view and Perejil is on the left and Shooting Five Hundred is on the right. But when you click on Band and scroll to the bottom of the screen, Perejil shows up on the right under “previous” and Shooting 500 shows up on the left under “next”. Is there anyway to make it so that the position of the films in the gallery matches the position when they show up under previous or next on the individual film page? I don’t know if that is possible to change but I think it makes more sense that they match.

    • #7194

      Please download this updated file https://www.dropbox.com/s/utpsblalathbks6/functions.zip?dl=0
      Unzip it, upload “functions” folder to your theme folder, recover the old files.
      Then, the portfolios order will be changed, the oldest one will be the first.

    • #7202
      radafilmgroup
      Participant

      You want me to delete the old Functions folder on the server? When I drop the folder you sent me into the Samsara folder it’s asking me to overwrite the other duplicate files. What do you mean by recover the old files? Download them on my computer?

    • #7210

      No! Don’t remove the functions folder, only overwrite the duplicate files.
      Sorry, my mistake, it’s not recover, just overwrite.

    • #7287
      radafilmgroup
      Participant

      I just uploaded the new folder and it worked. Thank you for all your help!

    • #7301

      OK!

Viewing 25 reply threads
  • You must be logged in to reply to this topic.