stevenocheltree
Forum Replies Created
-
So weird. I had been editing in Dreamweaver using ThemeDreamer, I would then upload the edited .php files to my wp-content/themes/neutica folder on my FTP which hosts my blog…and for some reason, something would overwrite the file because nothing would change if I look in it in the theme editor in the WP control panel.
I just changed that snippet in the WP control panel and it worked great. I wonder why it wasn’t working before, editing it outside and uploading it. Strange. It worked fine for other pages but the home.php would always revert to the original after it was uploaded.
Thanks for the help. I guess I’ll start editing from the WP control panel a bit more often now. I should have been checking it in the WP Control Panel to make sure the new code was appearing.
I’ve tried it in both….with no luck using either the index or the home.php…neither seems to do anything when I edit it.
It appears the problem lies somewhere here:
div id="container"> <div id="content"> <?php while ( have_posts() ) : the_post() ?> <div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>"> <div class="entry-content"> <p class="thePic clearfix"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_image('thumbnail'); ?></a> </p> <p> <?php the_content_rss('', TRUE, '', 40); ?><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'sandbox'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark">Read More</a> </p> </div><!-- .entry-content -->
I’ve tried replacing the:
<?php the_content_rss('', TRUE, '', 40); ?>
with things like
<?php the_content_rss('', TRUE, '', 10000); ?>
in all the index.php, search.php, archives.php, categories.php, etc. Supposedly the “40” determines the amount of words shown.I’ve also tried things like:
<?php the_content(); ?>
and
<?php get_the_content(); ?>
I’m not even sure if the index.php controls this page. I’ve added random text like “WTFLFJSDLJDL:FKJLFSD:LJDFLJL:FD” inside the first <div> tag and nothing changes. Gaaaaaaaaaaaaah, this is bothering me that I can’t figure this out.
Any help would be great, here is the link to the theme’s homepage:
https://allancole.com/wordpress/themes/neutica/@uwiuw, tried that…doesn’t work either. =0(
It was one of my first attempts to make things work.
Thanks for the suggestion though.
What would I replace with the code you provided? Where should I insert that snippet of code?
I’m having the same issue. It looks like the post entries aren’t even populated by the index.php…or it is in there somewhere in some strange location. There doesn’t exist any “excerpt” or anything. A little help would be appreciated:
<?php get_header() ?> <div id="container"> <div id="content"> <?php while ( have_posts() ) : the_post() ?> <div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>"> <div class="entry-content"> <p class="thePic clearfix"> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_image('thumbnail'); ?></a> </p> <p> <?php the_content_rss('', TRUE, '', 40); ?><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'sandbox'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark">Read More</a> </p> </div><!-- .entry-content --> <div class="entry-meta clearfix"> <h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'sandbox'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h2> <ul class="meta-list"> <li><span class="author vcard"><?php printf(__('Written by %s', 'sandbox'), '<a class="url fn n" href="'.get_author_link(false, $authordata->ID, $authordata->user_nicename).'" title="' . sprintf(__('View all posts by %s', 'sandbox'), $authordata->display_name) . '">'.get_the_author().'</a>') ?></span></li> <li><span class="entry-date">Posted on <abbr class="published green" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s', 'sandbox'), the_date('', '', '', false), get_the_time()) ?>.</abbr></span></li> <li><span class="cat-links"><?php printf(__('Filed under %s', 'sandbox'), get_the_category_list(', ')) ?>.</span></li> <?php the_tags(__('<li><span class="tag-links">Tagged as ', 'sandbox'), ", ", ".</span></li>") ?> <li><span class="comments-link">Read <?php comments_popup_link(__('Comments (Be the first!)', 'sandbox'), __('Comments (1)', 'sandbox'), __('Comments (%)', 'sandbox')) ?>.</span></li> <?php edit_post_link(__('Edit.', 'sandbox'), "\t\t\t\t\t<li class=\"edit-link\">", "</li>"); ?> </ul> </div> </div><!-- .post --> <?php comments_template() ?> <?php endwhile ?> <div id="nav-below" class="navigation"> <div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">«Older posts</span>', 'sandbox')) ?></div> <div class="nav-next"><?php previous_posts_link(__('<span class="meta-nav">Newer posts»</span>', 'sandbox')) ?></div> </div> </div><!-- #content --> </div><!-- #container --> <?php get_sidebar() ?> <?php get_footer() ?>
Forum: Fixing WordPress
In reply to: Images appear in single post but not main pageYa! Thanks so much Esmi! Everything seems to be running perfectly now!
I really appreciate the help!
-Steve
Forum: Fixing WordPress
In reply to: Images appear in single post but not main pageCool. That’s how I have it setup now. But it seems as if the post is floating left, so the second post, tags, etc seem to populate to the right of the first post instead of underneath it. I used the line:
<div style=clear:both; display:block;></div>
after the post div and after the tag div and it seemed to help a bit. But any text after the image (in the same post) seems to populate at the top right as well. Take a look. The “This is text after the centered image.” is text written underneath the image in the WordPress backend. Why is this happening?https://www.wearesewcreative.com/blog/
Thanks for all of your help.
Forum: Fixing WordPress
In reply to: Images appear in single post but not main pageHey Esmi,
Do I need a plugin if I do not want an excerpt at all? I do not want to use the excerpt function in any way. I just want the content to be published in full. I never want to post an excerpt.
Forum: Fixing WordPress
In reply to: Images appear in single post but not main pageI do not want to have to write an excerpt everytime I post. I just want to be able to write the post, press publish and have everything that I wrote appear on the main page.
I don’t understand option 3. Could you point me in a direction?
Where can I edit my “get_excerpt()” settings. I am new to PHP/Wordpress editing.
Thanks again esmi!
-s
Forum: Fixing WordPress
In reply to: Images appear in single post but not main pageThanks Esmi.
I tried #1 and the image was displayed but it also messed up the rest of the page. It seemed to disregard page breaks (or something similar to that). It looked like a mess.
I do not want any form of excerpt to appear. I want the full posts with images to appear on the site. How can I do that without it looking weird…like it does now (I’m leaving it this way so you can see what I’m talking about).
https://www.wearesewcreative.com/blog/
(Notice how the second post is displayed next to the first post and not underneath it.)
Thanks,
Steve
Forum: Plugins
In reply to: Create Mailto Link from Page LinkThanks. I’ll check out these options!