lstoll
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Alphabetizing posts and displaying only post titlesI’m in my wordpress admin account right now under editor and the loop-archive.php is with all of my other child template files. You said there’s no code to output the post content in the pastebin version. What do you mean by that exactly?
Forum: Fixing WordPress
In reply to: Alphabetizing posts and displaying only post titlesI created the loop-archive.php file with the paste bin code, and uploaded it to my child theme, but the entire post content is still showing up.
Forum: Fixing WordPress
In reply to: Alphabetizing posts and displaying only post titlesWhat code do I put in my loop-archive.php in my child theme?
Forum: Fixing WordPress
In reply to: Alphabetizing posts and displaying only post titlesHi Esmi, Thanks for your fast response. I got the alphabetical part, but I’m not sure where to delete “the_content()” part in the archive.php file. I don’t see anything in the file that says the_content, only the following two phrases are found in the file:
<div id=”content” role=”main”> and </div><!– #content –>Sorry I’m so inept at modifying code!
See below archive.php file:
<?php get_header(); ?> <div id="container"> <div id="content" role="main"> <?php if ( have_posts() ) the_post(); ?> <h1 class="page-title"> <?php if ( is_day() ) : ?> <?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?> <?php elseif ( is_month() ) : ?> <?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( 'F Y' ) ); ?> <?php elseif ( is_year() ) : ?> <?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( 'Y' ) ); ?> <?php else : ?> <?php _e( 'Blog Archives', 'twentyten' ); ?> <?php endif; ?> </h1> <?php rewind_posts(); get_template_part( 'loop', 'archive' ); ?> </div><!-- #content --> </div><!-- #container -->
[Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin]
Forum: Fixing WordPress
In reply to: Static text on category pages made my posts disappearIt works! Thank you!!!
Forum: Fixing WordPress
In reply to: Static text on category pages made my posts disappearI tried the code, but the website is saying there’s an error on line 78. Any ideas?
Forum: Fixing WordPress
In reply to: Static text on category pages made my posts disappearI added my conditionals code where lines (#9-11 <?php // start static text here?. <?php //end static text here ?>) were in your pastebin code. When I go to my website I get an error.
The following is the code I have in my loop-category.php
https://pastebin.com/1AXYFUJWDid I paste my conditional code in the wrong spot?
Thanks again!
Forum: Fixing WordPress
In reply to: Static text on category pages made my posts disappearThe code that I currently have in my loop-category.php file is conditional. Should I put my conditionals code above the code you sent me in the link? I’d like to have the static text displayed at the top of the category page and have the posts displayed below it.
Forum: Fixing WordPress
In reply to: Static text on category pages made my posts disappearRight now I only have a loop-category.php file. Do I need to create a category php file for every category I have? I’m not sure how to indicate in the provided code which static text I want on which category page.
Forum: Fixing WordPress
In reply to: Add intro text to category pageI am trying to add different static texts to the tops of category pages too. What file do I add the conditional code to? I am using a child theme right now that only has a stylesheet in its directory. Do I need to upload a category.php or an index.php file?
Forum: Fixing WordPress
In reply to: Changing Site Titles to LogosIt works! Thank you!!!
Forum: Fixing WordPress
In reply to: Changing Site Titles to LogosOk so I uploaded the image and used the code you provided. After doing that, the site just showed a blank white space where the logo should go. I deleted the #site-title span a {display:none} part of the code. That displayed the original site title and showed part of the logo. The problem is that the logo is cut off. I need to somehow move the logo up on the screen and make the original site title disappear. Do you know how I can do that? I left the 2nd line of the site code in my stylesheet so you can see the issue with the site title and logo on the website.
Thanks again for all your help. I really appreciate this!
Forum: Fixing WordPress
In reply to: Changing Site Titles to LogosForum: Fixing WordPress
In reply to: Changing Site Titles to LogosI got the child theme activated. Now how should I go about changing the site title to a logo?
Thanks!