jimmyt1988
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post Pages not foundSorry if you already solved it but.
In the Settings/General section in the admin area, you may need to change your:
WordPress address (URL)
Blog address (URL)to the new one?
Please just say if i got the wrong end of the stick. I did try to understand the problem hehe
Forum: Fixing WordPress
In reply to: Category number and permalinksJust to make sure.. in the permalink settings you can use:
/%category%/%postname%/
Is that what you have or do you have only the words category/postname.
Your links in address bar will now say for example:
poopie.com/blog/this-is-about-how-poopie-i-amForum: Fixing WordPress
In reply to: Images won`t show at startpageditto. I had the same problem. The_excerpt removes images. the_content should do the job as stated by Voodoo
Forum: Fixing WordPress
In reply to: Pagination, Not sure what to doI’m still stuck. 5 hours overall of trying. *cries*. Please refer to previous posts for information on my problem. I’m so grateful for the help.
Forum: Fixing WordPress
In reply to: Pagination, Not sure what to doIt’s not what I’m looking for, but thanks. Esmi was on the right lines. Perhaps She/He will know where I’m going wrong.
Forum: Fixing WordPress
In reply to: Pagination, Not sure what to doI have tried this:
https://jamestrusler.co.uk/wp-content/themes/jamestrusler/helpMe2.txt
find : /*PROBLEMMM ISSS HEREEEEEE*/But it returns no posts. Any ideas why is_page isn’t working. I’m going crazy I think, I can’t solve simple thing :S.
If you visit my page it returns 4 page names. If that helps at all lol :S.
EDIT: I now have a working next button too. But because there is problem displaying the posts It does not work. view site for visual.
EDIT: If I replace:
if (is_page($pageNames[$i])) {?>
with
if (is_page($pageNames[$i])) continue;?>
It outputs a post from 1 category 8 times.. I don’t get it ??
Forum: Fixing WordPress
In reply to: Pagination, Not sure what to doYes, exactly what I have been using. As you can see, I got it to work for the “IF POST IS IN A CATEGORY” section. but I cant get it to work for the “//IF PAGE IS ONE OF ARRAY PAGENAMES” section ?? Any ideas?
So first problem is limiting the amount of pages listed to 7.
Second is getting a link to show up only on the last post of that page. Which links to another page which shows only 7 posts and then has a link to another page etc.thanks for any help btw.
Forum: Fixing WordPress
In reply to: add image from post, which link to post image is in.I think I love you lol.. THANKYOU SOO MUCH !!!!
*high five*
SO SIMPLE TOO.. WICKED THANKssss
Forum: Installing WordPress
In reply to: Wsod activating themeThanks a bunch!
Forum: Fixing WordPress
In reply to: previous_posts_link next_posts_link problemDon’t worry about that site.
The default set up on the default theme is:
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> <div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div> <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php get_search_form(); ?> <?php endif; ?> </div>
Try that, I’ll tell you if it works on mine.
Forum: Fixing WordPress
In reply to: I’m no longer the Site Admin – why??If you have access to the database it is really easy:
1.goto the database
2.goto the table wp_users
3.Edit the entry for admin
4.use: https://www.md5encrypter.com/ to encrypt a new password
5.put the password that is encrypted into where the old password was.
6.Make sure user_login is ‘admin’ and user_status is 0.Save the table record.
cross your fingers.
Forum: Fixing WordPress
In reply to: Page categories not showing upAny chance we can have a look at the site. I think it would be ultra helpful. If not, perhaps take 20 mins to write a full bloaty post that describes in more detail. I think you’ll get your answer better then ??
1.When did it happen
2.What happenedbla bla.
all the best
Forum: Fixing WordPress
In reply to: stop adding `<p>` tagsMay have got wrong end of the stick here but:
that is a css style problem.
Here is the solution buddy:
p{ margin-top:0px; margin-left:5px; margin-bottom:0px; margin-right:5px; padding-top:12px; padding-left:0px; padding-bottom:12px; padding-right:0px; }
It is some problem where margin pushes the div top away. Infact you need to do it with padding instead.
I also use the individual padding-left etc rather than padding:12px 0px 12px 0px; because otherwise sometimes default browser styles set an individual padding-left or right and your padding:0px 0px 0px 0px doesnt over write it.
Please ask if that doesnt make sense. Im a little tired ??
Forum: Fixing WordPress
In reply to: add image from post, which link to post image is in.Imagine I want to display an image in a div called pictures, that has a link to the post it belongs to rather than a link to the location of the image:
<div id = "pictures"> <a href = "link to post that image belongs to"> <img src = "image src" /> </a> </div>
But the image has to be displayed using something like this:
<?php $args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => null, // any parent ); $attachments = get_posts($args); if ($attachments) { foreach ($attachments as $post) { setup_postdata($post); //the_title();?> <a href = "<?php the_permalink(); ?>"><img src = "<?php get_the_attachment_link(); ?>" /></a> <?php //the_excerpt(); } } ?>
Forum: Fixing WordPress
In reply to: previous_posts_link next_posts_link problemAlchy. I suggest you search for it. I have just read for 25 minutes trying to get that to work on my WordPress, and it has not been constructive for my learning, or me… hehehhe. *headache*
Could me and above person have a little more information?
Thanks though!