Tagged: x
-
AuthorPosts
-
February 6, 2017 at 5:50 am #1359516
KeanuParticipantHi there,
I’m looking to add a cornerstone element to the top and bottom of the page same as on every other page. And possibly also a slider in future. How would I go around doing this please? I did think to create a new blog-style page using the “recent posts” element in cornerstone, however it looks completely different.
Any help would be appreciated!
Kind Regards,
-JoshFebruary 6, 2017 at 6:22 am #1359544
ChristianModeratorHey Josh,
Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/. Or, you might want to take a look at this third party plugin http://northshoreit.me/cornerstone-live-templates/. Please take note though that we do not have support for third party plugins. For usage instructions and issues, please contact the plugin developer.
Thanks.
February 6, 2017 at 9:03 am #1359713
KeanuParticipantHi Christian,
No problem at all! Thanks for the quick reply. I’ll try first with the plugin, and if that doesn’t work, i’ll look towards the custom development.
Thanks!
-JoshFebruary 6, 2017 at 9:24 am #1359738
RahulModeratorSure!
We are always here standing by to assist you in anyway.
Regards.
February 6, 2017 at 10:30 am #1359845
KeanuParticipantThank you for your suggestions, sadly that plugin wasn’t of much use! Managed to do it myself though by adding in php code into the header / footer. Grabbed the conditional tags from WordPress.org – https://codex.wordpress.org/Conditional_Tags
Here is the code for anyone wanting to do the same.
<?php // ============================================================================= // Custom code - FOR BLOG PAGE // ============================================================================= ?> <div id="cta" class="x-section " style=""><div id=" " class="x-container max width" style="margin: 0px auto;padding: 0px;"> <?php if ( is_front_page() && is_home() ) { // Default homepage } elseif ( is_front_page() ) { // static homepage } elseif ( is_home() ) { echo do_shortcode ( ' YOURSHORTCODEHERE ' ); } else { //everything else } ?> </div></div> <?php // ============================================================================= // End of custom code // ============================================================================= ?>That code allows it to display only on the blog page, due to not being a php developer, i’m not entirely sure if you can cut the code down, but C’est la vie, it works! Hope this helps someone in my situation! 🙂
Kind Regards,
-Josh(Just a side note! Make sure you place it BEFORE the “Landmark header”, else it’ll display after the header on the page!)
February 6, 2017 at 10:42 am #1359865
JadeModeratorThanks for sharing you solution, Josh.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1359516 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
