Find Jobs
Hire Freelancers

Code fix needed for custom code Wordpress

$30-250 USD

Completed
Posted over 13 years ago

$30-250 USD

Paid on delivery
Code fix needed for custom code Wordpress I’m using two plugins in conjunction with a small piece of custom code on my wordpress blog. What it is supposed to do is display in the sidebar a thumbnail with the title and first few lines of every post of the same category as the post the reader is currently reading. So when the reader is reading a post about product A in Category 1 the code will display the title, first few lines and a thumbnail of all posts in Category 1 in the sidebar next to the article. When the reader goes to the product C in Category 3 the code shows the title, first few lines and a thumbnail of all posts in Category 3 in the sidebar and so on. But there is an error in the code that I cant get out. This causes the code to show the first few lines of one and the same post. It gets the title right, the thumbnail to, but never the correct first few lines. Here is an example: [login to view URL] Also, I want to limit the number of posts it shows to 10 or some other number. I want to be able to set this myself. So the job is to 1 ) fix the code by having every title and thumbnail show with the right first few lines of the posts and 2 ) add the option of limiting the number of posts shown by the code. Here is the code: <div id="front-list2"> <?php global $post; $categories = get_the_category(); foreach ($categories as $category) : ?> <ul> <?php $posts = get_posts('numberposts=10&category='. $category->term_id); foreach($posts as $post) : ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanente link naar <?php the_title(); ?>"> <?php get_the_image('image_class=smallthumb'); ?> </a> <b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b><br /> <?php content('25'); ?> <?php endforeach; ?> <?php endforeach; ?> </ul> </div> The two plugins I use are Executable PHP widget - to be able to use php in a widget and Get the Image in order to display a thumbnail. Because I think it is a very simpel job for someone who knows how to code PHP for Wordpress the job pays an easy 30 dollars, paid inmidiatly after I have checked that the code supplied by you does what I want it to do.
Project ID: 804514

About the project

12 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Check your PM for solution. Thanks you.
$30 USD in 1 day
5.0 (203 reviews)
6.8
6.8
12 freelancers are bidding on average $30 USD for this job
User Avatar
Hi, We are very interested to work in your project as we have extensive experience in the relevant field. So please see more details in the PM. Thanks
$30 USD in 0 day
4.8 (101 reviews)
6.6
6.6
User Avatar
Please check inbox. Thnx.
$30 USD in 0 day
5.0 (234 reviews)
6.4
6.4
User Avatar
Hi, please see the PM
$30 USD in 0 day
5.0 (47 reviews)
5.6
5.6
User Avatar
US developer, details in PMB
$30 USD in 0 day
5.0 (23 reviews)
5.0
5.0
User Avatar
Hi. I looked at your code, and i know what i wrong with it. Should be an easy fix to make it show the correct content. Also limiting the posts shown. Mike
$30 USD in 0 day
5.0 (26 reviews)
4.8
4.8
User Avatar
################# Thanks for posting project. Please check INBOX for further details #################
$30 USD in 1 day
4.9 (19 reviews)
4.8
4.8
User Avatar
Hello, i can do it for you.
$30 USD in 1 day
5.0 (12 reviews)
4.1
4.1
User Avatar
Please check PMB
$30 USD in 0 day
5.0 (2 reviews)
2.0
2.0
User Avatar
Hi, we can do this for you...
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
We can easily handle it in given time and cost. * Dedicated and professional team * Reliable working relationship * High-quality work * Ownership with your all files * Delievery with on-time * 100% satisfaction guarantee
$30 USD in 1 day
0.0 (1 review)
0.0
0.0

About the client

Flag of NETHERLANDS
Rotterdam, Netherlands
5.0
2
Member since Oct 16, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.