Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › Reverse Articles Extra & Post Comments
New Landing › How can we help? › Cardinal › Reverse Articles Extra & Post Comments
- This topic has 11 replies, 2 voices, and was last updated 9 years by Mohammad – SUPPORT.
-
Posted in: Cardinal
-
February 22, 2015 at 11:27 pm #152273
Hi, any suggestions to reverse Articles Extra & Post Comments, so that Post Comments display above Articles Extra?
February 23, 2015 at 5:40 am #152299Hi,
Please provide always specific url with request changes and screenshot marked image to explain your changes.
Thanks
MohammadFebruary 23, 2015 at 8:40 am #152325The words are pretty self-explanatory. Nonetheless, attached is a screenshot.
Attachments:
You must be logged in to view attached files.February 23, 2015 at 10:14 am #152359Hi,
Please provide me specific page url to resolve the issue.
Thanks
MohammadFebruary 23, 2015 at 11:16 am #152380I don’t know why a url is so necessary on such a generic question, but here is a link to a typical wordpress post in a cardinal theme – which i am pretty certain you also use …
February 23, 2015 at 11:40 am #152394Hi,
I am just confuse on it. Do you want to move black bar with this text below comment form box?Next Article Introducing DPdJ By liddy in batto moosh on February 22, 2015
Thanks
MohammadFebruary 23, 2015 at 2:05 pm #152459yes
February 24, 2015 at 9:23 am #152641Hi,
Please open to edit single.php file of theme.Find this code:- <div class="pagination-wrap blog-pagination clearfix"> <div class="nav-previous"><?php next_post_link('%link', __('<i class="fa-angle-left"></i> <span class="nav-text">%title</span>', 'swiftframework'), FALSE); ?></div> <div class="nav-next"><?php previous_post_link('%link', __('<span class="nav-text">%title</span><i class="fa-angle-right"></i>', 'swiftframework'), FALSE); ?></div> </div> <?php if ( comments_open() ) { ?> <div id="comment-area"> <?php comments_template('', true); ?> </div> <?php } ?> Replace with:- <?php if ( comments_open() ) { ?> <div id="comment-area"> <?php comments_template('', true); ?> </div> <div class="pagination-wrap blog-pagination clearfix"> <div class="nav-previous"><?php next_post_link('%link', __('<i class="fa-angle-left"></i> <span class="nav-text">%title</span>', 'swiftframework'), FALSE); ?></div> <div class="nav-next"><?php previous_post_link('%link', __('<span class="nav-text">%title</span><i class="fa-angle-right"></i>', 'swiftframework'), FALSE); ?></div> </div> <?php } ?>
Thanks
MohammadFebruary 24, 2015 at 10:01 am #152650that code does not exist in single.php of cardinal main theme
February 24, 2015 at 10:11 am #152657Hi,
Sorry about it. Please open to edit single-post.php at /cardinal/swift-framework/layout/Find this code:- <div class="link-pages"><?php wp_link_pages(); ?></div> <div class="post-aux-wrap <?php echo $post_aux_wrap_class; ?>"> <?php /** * @hooked - sf_post_review - 20 * @hooked - sf_post_share - 30 * @hooked - sf_post_details - 40 **/ do_action('sf_post_content_end'); ?> </div> </div> <?php /** * @hooked - sf_post_left_sidebar - 10 * @hooked - sf_post_right_sidebar - 10 **/ do_action('sf_after_post_content'); ?> Change with:- <?php /** * @hooked - sf_post_left_sidebar - 10 * @hooked - sf_post_right_sidebar - 10 **/ do_action('sf_after_post_content'); ?> <div class="link-pages"><?php wp_link_pages(); ?></div> <div class="post-aux-wrap <?php echo $post_aux_wrap_class; ?>"> <?php /** * @hooked - sf_post_review - 20 * @hooked - sf_post_share - 30 * @hooked - sf_post_details - 40 **/ do_action('sf_post_content_end'); ?> </div> </div>
Thanks
MohammadFebruary 24, 2015 at 10:44 am #152668I don’t notice a difference after making the changes above – also, it looks like the display of “next articles” after a post appears randomly.
examples can be seen at:
https://battomoosh.com/february-houses/ (next article displays)
https://battomoosh.com/reminder/ (no next article)
https://dpdj.net/clark-mumbles-terry/ (no next article)February 25, 2015 at 8:55 am #152964Hi,
I still dont see any next article link at https://battomoosh.com/february-houses/. Have you edited code correctly.
Thanks
Mohammad -
Posted in: Cardinal
You must be logged in and have valid license to reply to this topic.