New Landing How can we help? Cardinal Reverse Articles Extra & Post Comments

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Cardinal
  • #152273
    icecast
    Member
    Post count: 182

    Hi, any suggestions to reverse Articles Extra & Post Comments, so that Post Comments display above Articles Extra?

    #152299
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide always specific url with request changes and screenshot marked image to explain your changes.
    Thanks
    Mohammad

    #152325
    icecast
    Member
    Post count: 182

    The words are pretty self-explanatory. Nonetheless, attached is a screenshot.

    Attachments:
    You must be logged in to view attached files.
    #152359
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me specific page url to resolve the issue.
    Thanks
    Mohammad

    #152380
    icecast
    Member
    Post count: 182

    I 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 …

    https://battomoosh.com/reminder/

    #152394
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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
    Mohammad

    #152459
    icecast
    Member
    Post count: 182

    yes

    #152641
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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
    Mohammad

    #152650
    icecast
    Member
    Post count: 182

    that code does not exist in single.php of cardinal main theme

    #152657
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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
    Mohammad

    #152668
    icecast
    Member
    Post count: 182

    I 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)

    #152964
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I still dont see any next article link at https://battomoosh.com/february-houses/. Have you edited code correctly.
    Thanks
    Mohammad

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register