Support for Envato Buyers › Forums › Samsara › Hidden Rev Slider + Scrolling Order
- This topic has 25 replies, 2 voices, and was last updated 9 years, 11 months ago by FocuxTheme Support.
-
AuthorPosts
-
-
December 17, 2014 at 12:45 am #6966radafilmgroupParticipant
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!
-
December 17, 2014 at 9:40 pm #6968FocuxTheme SupportKeymaster
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
-
December 18, 2014 at 9:54 am #6972radafilmgroupParticipantThis reply has been marked as private.
-
December 18, 2014 at 11:40 am #6974radafilmgroupParticipantThis reply has been marked as private.
-
December 18, 2014 at 1:19 pm #6977FocuxTheme SupportKeymaster
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=0Now you just need to remove the second revolution slider which you have added via Visual Composer.
-
December 22, 2014 at 11:06 am #6994radafilmgroupParticipant
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?
-
December 23, 2014 at 12:00 am #6997FocuxTheme SupportKeymaster
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">'.__('« Previous Post').' <br />%link</strong>'); ?> <?php next_post_link('<strong class="next">'.__('Next Post »').'<br />%link</strong>'); ?>
Just change the position to each other.
-
December 23, 2014 at 11:57 pm #7010radafilmgroupParticipant
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?
-
December 25, 2014 at 11:23 pm #7012FocuxTheme SupportKeymaster
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.
-
January 7, 2015 at 7:27 am #7128radafilmgroupParticipant
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!
-
January 7, 2015 at 11:40 pm #7135FocuxTheme SupportKeymaster
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">'.__('« Previous Post').' %link</strong>'); ?> <?php next_post_link('<strong class="next">'.__('Next Post »').'%link</strong>'); ?>
Change to
<?php next_post_link('<strong class="next">'.__('Next Post »').'%link</strong>'); ?> <?php previous_post_link('<strong class="prev">'.__('« Previous Post').' %link</strong>'); ?>
3. Save it, that’s it.
-
January 9, 2015 at 2:03 am #7144radafilmgroupParticipant
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?
-
January 9, 2015 at 5:09 pm #7148FocuxTheme SupportKeymaster
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
-
January 10, 2015 at 12:44 am #7155radafilmgroupParticipant
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.
-
January 10, 2015 at 5:17 am #7158radafilmgroupParticipant
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.
-
January 10, 2015 at 10:50 pm #7165FocuxTheme SupportKeymaster
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
-
January 10, 2015 at 11:34 pm #7168radafilmgroupParticipantThis reply has been marked as private.
-
January 11, 2015 at 6:36 pm #7172FocuxTheme SupportKeymaster
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
-
January 13, 2015 at 7:18 am #7185radafilmgroupParticipant
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.
-
January 13, 2015 at 10:30 pm #7189FocuxTheme SupportKeymaster
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!
-
January 14, 2015 at 1:12 am #7191radafilmgroupParticipant
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.
-
January 14, 2015 at 3:00 pm #7194FocuxTheme SupportKeymaster
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. -
January 15, 2015 at 9:43 am #7202radafilmgroupParticipant
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?
-
January 15, 2015 at 9:13 pm #7210FocuxTheme SupportKeymaster
No! Don’t remove the functions folder, only overwrite the duplicate files.
Sorry, my mistake, it’s not recover, just overwrite. -
January 23, 2015 at 2:59 am #7287radafilmgroupParticipant
I just uploaded the new folder and it worked. Thank you for all your help!
-
January 24, 2015 at 2:35 am #7301FocuxTheme SupportKeymaster
OK!
-
-
AuthorPosts
- You must be logged in to reply to this topic.