-
AuthorPosts
-
March 30, 2016 at 8:01 am #858695
Hi there,
we have the same problem as Patrick in the author page.
We would like to have the code in order to customize by ourself this page.
We have Ethos and we’ve activated the child’s theme. Let us know if you need the access to our site in order to modify the code.
Looking to hear from you soon
Many thanksMarco
March 30, 2016 at 10:48 am #858919Hi Marco,
The code is already provided (See – #840957) and that already worked for one user. So let’s implement this on your site.
Cheers!
March 31, 2016 at 8:04 am #860781Hi there,
thanks for the replay, but it doesn’t work.
Does exist another code in order to re-try or would you like to see our site’s code?Regards
Marco
March 31, 2016 at 2:38 pm #861326Hi Marco,
Please post a new thread and provide us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
April 1, 2016 at 3:36 am #862242This reply has been marked as private.April 1, 2016 at 9:52 am #862645Hi Marco,
Thank you for providing your login credentials.
I tried the
[x_author]
shortcode in your site and it seems to be working.http://marketingtechnology.it/xsupport-test/
Author’s name is link to author archive page.
Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do ( perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
Thanks
April 4, 2016 at 8:16 am #865869This reply has been marked as private.April 4, 2016 at 7:50 pm #866852Hello Marco,
Thank you for the clarification.
Please copy the file wp-index.php from wp-content\themes\x\framework\views\ethos to wp-content\themes\x\framework\views\ethos. Open the copied file and then insert the following code<?php if(is_author()){ echo do_shortcode('[author title="About the Author"]'); } ?>
After this line of code:
<div class="<?php x_main_content_class(); ?>" role="main">
The entire code should be like this:<?php // ============================================================================= // VIEWS/ETHOS/WP-INDEX.PHP // ----------------------------------------------------------------------------- // Index page output for Ethos. // ============================================================================= $is_filterable_index = is_home() && x_get_option( 'x_ethos_filterable_index_enable' ) == '1'; ?> <?php get_header(); ?> <div class="x-container max width main"> <?php x_get_view( 'ethos', '_post', 'slider' ); ?> <div class="offset cf"> <div class="<?php x_main_content_class(); ?>" role="main"> <?php if(is_author()){ echo do_shortcode('[author title="About the Author"]'); } ?> <?php if ( $is_filterable_index ) : ?> <?php x_get_view( 'ethos', '_index' ); ?> <?php else : ?> <?php x_get_view( 'global', '_index' ); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> </div> </div> <?php get_footer(); ?>
Hope this helps.
April 8, 2016 at 3:51 am #872523Hi there,
first of all we would like to thank you so much for your help. Everything is fine now.
There is another question that I have: we modified the file – wp-content\plugins\cornerstone\includes\modules\shortcodes\author.php – but in this way each time there is a new X update we loose the last modification. There is a way to add this modification to the child theme?
For any further information don’t hesitate to contact me again
RegardsMarco
April 8, 2016 at 5:35 pm #873425Hey Marco,
Thank you for updating the thread, we don’t recommend making modifications to the Cornerstone Plugin, with each update your modifications will be overwritten. Currently the modification in Cornerstone plugin can’t be moved to the Child theme, you’ll need to update the page after the update.
Thanks!
-
AuthorPosts