Lara Schenck
Forum Replies Created
-
WordPress does things a little backwards – by default the older posts are linked on the left and newer posts on the right. There’s a popular plugin called WP-Paginate that gives you more flexibility with post navigation. Worth checking out. If you want to just change the wording, replace ‘Previous’ and ‘Next’ with what you’d like. But it would be more complicated if you want just the home page to say something different.
Good luck! And I’m glad to have been of help ??
Found it – in category.php you’ll see this on line 39 or so –
<div class="prevnext"><div class="prev"><?php next_posts_link('Newer') ?></div> <div class="next"><?php previous_posts_link('Older') ?></div></div>
replace it with the code I posted before.
Thanks for catching this! We’ll definitely get it into the next release.
Go into index.php and around line 40 you’ll see:
<div class="prevnext"> <div class="prev"><?php previous_posts_link('Previous') ?></div> <div class="next"><?php next_posts_link('Next') ?></div> </div><!--.prevnext -->
This is what the code is supposed to be – not sure how yours could have changed.
Strange…those links should say next and previous. Have you tried reinstalling the theme via FTP?
Forum: Themes and Templates
In reply to: Filter category on home page in WPFolioThe loop is this
if ( have_posts() ) : while ( have_posts() ) : the_post();
. Your code is correct, just make sure it is below that line. Read more about the loop here. If this still isn’t working, clear your browser history (cache and cookies especially).Also, when you are making modifications in theme files you should use a child theme otherwise your changes will be overwritten when you update the theme. Read about child themes here.
Good luck!
Forum: Themes and Templates
In reply to: WPFolio Issue – thin line above footerFind
div.footer
in style.css and delete this line:border-top: 1px solid #DDDDDD;
It’s a good idea to learn some basic CSS and you can easily make little changes like this yourself – check out w3chools CSS tutorial.
Forum: Themes and Templates
In reply to: WPFolio Issue – thin line above footerIt’s a CSS rule – you can use the inspector in FireBug to find out what to change then add the changes to the stylesheet. Send the link to your site and I’ll have a look.
Forum: Themes and Templates
In reply to: disabling comment box on all pages for wpfolioIn ‘Posts’ go to a post’s Quick Edit and uncheck ‘Allow commments’. To disable comments for all future posts, go to ‘Settings’ then ‘Discussion’ and under the firsts section, uncheck ‘Allow people to posts comments on new articles’.
Forum: Fixing WordPress
In reply to: Enable Post Titles on All Posts in WPFolioUse a child theme! You can make a single.php in the child theme folder and make your changes there (won’t be updated on updates though).
In the above line of code, you could add the names of the categories you want to use this format to the array. But know that the single blog post template includes the sidebar, date, and other post info. If you don’t want those, you’ll have to make another condition –
else if (in_category('my_category')):
or something similar.Forum: Themes and Templates
In reply to: Upgraded to wpfolio 1.7 and website goneSorry for the jargon stovetopstephen. WordPress requires 5.2.4, but with the new theme update you should see an error widget in the Dashboard instead of a site crash. I can’t be sure what went wrong without looking into it closer, but you can hire me to do that if you want: [email protected].
Forum: Fixing WordPress
In reply to: Question marks in the place of arrowsI think this has to do with your text editor’s encoding. Those question marks should be arrows –
←
for prev and$rarr;
, for next – if you change the ?s to those they should work. The document encoding should be UTF-8 – WPFolio is, but sometimes text editors will ask you if you want to change it when you open the files for the first time.And definitely do not be afraid of child themes! WPFolio even comes with a ready made one. You may want to start on one in preparation for the next update – updating rewrites the theme files and you will lose all of your changes in the affected files.
Forum: Fixing WordPress
In reply to: Uploaded images go to a lost or broken linkThe URL of a WordPress site is dependent on where you installed it on your server. For example, if you installed WP in the yoursite.com/wordpress directory then change the URL to yoursite.com, WordPress won’t know where to put any of your content. Take a look at this article from the Codex.
Forum: Fixing WordPress
In reply to: Question marks in the place of arrowsTo edit theme files you should create a child theme to edit the content – this keeps the modifications intact for when the theme updates and makes it much easier to track down errors in your changes.
I would recommend replacing the files you changed with the originals to overwrite any mistakes. Then to get rid of the navigation links, make your child theme and add this to style.css:
.prevnext { display: none; }
This will hide the page navigation section and you don’t have to change any of the theme files. Good luck! And nice looking site btw.
Forum: Fixing WordPress
In reply to: Image gallery only displays 3 across, and images stick together?You are using the default page template which includes the wide margins. Go the the ‘Page Attributes’ box on the right and select Full Width. Then you can selectively add the margins on text with the shortcode [margin].
Forum: Fixing WordPress
In reply to: Wp-folio Single Image Post is cropped on the rightWPFolio’s layout is based on 900px wide images – if they are bigger they’ll be cropped to maintain the layout. Resize your pics so they are 900px wide and everything should be good.