• The install instruction for this explain very little, it took 2 days just to make significant progress and still it doesn’t work.

    First of all it doesn’t tell you what file you may find that code they want you to insert, and if it’s different for each theme they should give you some indicator on where the file may be, anything. I had to research programs that scan files for certain text lines within the file. Notepad++ found it for me. I went through hours of researching just to be able to locate the proper file. It ended up being Theme-Loop.php

    Another problem, they don’t indicate whether or not you should create a child theme to edit the correct file, they just say insert the code, (a potential disaster for begginers) I ended up trying it both ways (child theme and direct edit) and made sure I had backups before doing so. Niether worked, if a child theme is neccesary they assume the user knows how to work with them and the equivilant file you’ll need in the child theme to work with. I spent hours researching what file to work with in the child theme, I believe I did it right (I ended up getting help elsewhere)

    Last problem, I couldn’t find any instructions (beyond very short descriptions) on what to even put in the fields once it’s installed. It already has text in the fields, I tried a combination of things I may want to appear on my website, and tried having it work as it was. Nothing worked.

    Example, one field says.. (Page %CURRENT_PAGE% of %TOTAL_PAGES%) Okay? What the heck do you do with that? Replace the field entirely? Put what you need inside the %%? I tried both.

    Any number of contributing factors can be causing this plugin not to work for me, it’s hard to know what’s wrong when the instuctions expect you to wing it in so many aspects.

    I’m using the theme Mantra with a child theme active if that’s any help. I don’t know what else to do, this is taking way to much time for just a simple website addition, any help appreciated. Specificity helps.

    https://www.ads-software.com/plugins/wp-pagenavi/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mikenet7482

    (@mikenet7482)

    Sorry if I was upset on the opening post, I just really need help. I found out that the default setting fields will work as is (according to a youtube video) if I’m wrong give me a heads up.

    So I’m not exactly sure what’s going on. Here’s the php child theme file I edited…

    https://www.dropbox.com/s/c86hrhnihs7beeg/functions.php?dl=0

    And here’s the file I believed to be the right one which I edited without using a child theme….

    https://www.dropbox.com/s/ylkdken644mpwql/theme-loop.php?dl=0

    The code that’s was originally in this file (which I replaced) was…

    <div class=”nav-previous”><?php next_posts_link( __( ‘<span class=”meta-nav”>«</span> Older posts’, ‘mantra’ ) ); ?></div>

    <div class=”nav-next”><?php previous_posts_link( __( ‘Newer posts <span class=”meta-nav”>»</span>’, ‘mantra’ ) ); ?></div>

    I didn’t put two lines of the same code to replace both of these. I only put it in once to replace both of them as seen in the shared file. I also put nothing in the () I assume you don’t since there was no indicator that I should.

    Any help would be appreciated, I’m not sure what else to do. I should also mention that I’m using the (Add Posts to Pages) plugin that allows me to have two blogs on two pages.

    If yall need anymore details about what could be going wrong let me know, I want to help anyone to help me.

    Thread Starter mikenet7482

    (@mikenet7482)

    Sorry for the multiple updates, I’m working hard to provide as much information as possible to try to solve the problem on my own or make it easier for anyone to help, I’m hoping all these post together will provide the information needed.

    As suggested above I’m using a plugin for multiple post on two seperate blogs, but it’s not technically a (single) multipart post so I’m not sure if I need to go this route.

    If the problem is that I need to replace the code for multipart pages I don’t know which file to change the code in. I have a number of files with this….

    <?php wp_link_pages

    Here are the files with the code above….

    Search “<?php wp_link_pages” (14 hits in 13 files)

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\attachment.php (1 hit)

    Line 201: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘mantra’ ), ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\content-aside.php (1 hit)

    Line 77: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\content-chat.php (1 hit)

    Line 75: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\content-gallery.php (1 hit)

    Line 129: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\content-image.php (1 hit)

    Line 65: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\content-link.php (1 hit)

    Line 75: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\content-page.php (1 hit)

    Line 41: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘mantra’ ), ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\content-quote.php (1 hit)

    Line 71: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\content-status.php (1 hit)

    Line 77: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\content.php (2 hits)

    Line 97: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>

    Line 129: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\single.php (1 hit)

    Line 65: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ), ‘after’ => ‘</span></div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\template-onecolumn.php (1 hit)

    Line 53: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘mantra’ ), ‘after’ => ‘</div>’ ) ); ?>

    C:\xampp\htdocs\public_html\wp-content\themes\mantra\template-page-with-intro.php (1 hit)

    Line 33: <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘mantra’ ), ‘after’ => ‘</div>’ ) ); ?>

    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘mantra’ ), ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘mantra’ ), ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’, ‘mantra’ ), ‘after’ => ‘</span></div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘mantra’ ), ‘after’ => ‘</div>’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘mantra’ ), ‘after’ => ‘</div>’ ) ); ?>

    Sorry for the length of this, it could be anyone of these files if I need to do it this way, I know things are different for each theme so I tried to narrow it down to only the files with the right code.

    Ideas on any of this would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I'm sorry but this is ridiculous, I have no idea what's wrong and I've tried…’ is closed to new replies.