Tagged: x
-
AuthorPosts
-
July 18, 2016 at 2:55 pm #1092357
OnyParticipantHi there,
I was wondering if there were a way to add some sort of code to the Portfolio page below the portfolio items. I’m looking to insert external code which will result in an events calendar.
I checked a few other threads already but can’t seem to get it working properly.
Thank you so much,
OnyJuly 18, 2016 at 2:56 pm #1092358
OnyParticipantThis reply has been marked as private.July 18, 2016 at 5:17 pm #1092511
DarshanaModeratorHi there,
Thanks for writing in! Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Then copy the file template-layout-portfolio.php which is under “/wp-content/themes/x/framework/views/ethos/” into your child theme’s respective location “/wp-content/themes/x-child/framework/views/ethos/”.
Then you can place your code as follows. Refer the following comment section below (
// place your code here)<?php // ============================================================================= // VIEWS/ETHOS/TEMPLATE-LAYOUT-PORTFOLIO.PHP // ----------------------------------------------------------------------------- // Portfolio page output for Ethos. // ============================================================================= ?> <?php get_header(); ?> <div class="x-container max width main"> <div class="offset cf"> <div class="<?php x_main_content_class(); ?>" role="main"> <?php x_portfolio_filters(); ?> <?php x_get_view( 'global', '_portfolio' ); ?> <?php // place your code here ?> </div> <?php get_sidebar(); ?> </div> </div> <?php get_footer(); ?>Hope that helps.
July 18, 2016 at 11:18 pm #1092903
OnyParticipantHi Darshana, thanks for the quick reply :).
Do I simply input my code after the ‘//’ or do I replace the ‘//’ as well?
July 19, 2016 at 1:55 am #1093026
ChristopherModeratorHi there,
Please replace
// place your code herewith your code.Thanks.
July 19, 2016 at 4:16 pm #1094187
OnyParticipantThis reply has been marked as private.July 19, 2016 at 8:13 pm #1094509
John EzraMemberHi Ony,
Thanks for updating the thread! I’m a bit confused with your reply. You said it didn’t change anything at the start, then you said it properly displays. My understanding is that you found a way to get this to work? Is that correct and are you still needing assistance with this? Thanks.
Regarding the integration with AcuityScheduling, I will send it in as a feature request to our main dev team. I can’t promise implementation or a timeline at this point, however, we do listen to our users and we’re always trying to improve. When we see something beneficial we do our best to make it happen. We’re actually working on a number of things so if this does get added to the pipeline, we’ll be sure to announce it when it’s ready. Thanks for understanding! Have a great day!
July 19, 2016 at 10:50 pm #1094702
OnyParticipantThis reply has been marked as private.July 19, 2016 at 10:53 pm #1094703
OnyParticipantAlso, on the note of the AcuityScheduling, of course! Was just a suggestion, I understand you are developing tons of new features, as well as maintaining, updating, and fixing old ones. For now, I figure I can get a way to code it in.
Another potential feature suggestion, allow Cornerstone to edit above or below the main items in the Portfolio and Blog pages. That, I feel, would allow even greater customization for the regular audience who are looking for options without coding.
Thanks so much for the great work here at Theme.co!
You guys are definitely the best theme out there.
July 20, 2016 at 2:24 am #1094903
ChristopherModeratorThis reply has been marked as private.July 20, 2016 at 2:51 am #1094928
OnyParticipantThis reply has been marked as private.July 20, 2016 at 2:52 am #1094931
OnyParticipantThis reply has been marked as private.July 20, 2016 at 3:46 am #1094984
ChristopherModeratorHi there,
I made previous replay private.
I tried provided code in my end and it worked as expected, please provide us with FTP credentials so we can take a closer look.
Thanks.
July 20, 2016 at 3:51 am #1094987
OnyParticipantThis reply has been marked as private.July 20, 2016 at 5:28 am #1095078
ChristopherModeratorHi there,
I just renamed the file from
TEMPLATE-LAYOUT-PORTFOLIOtotemplate-layout-portfolioand it fixed the issue.Thanks
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1092357 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
