Find Jobs
Hire Freelancers

Code fix needed for custom code Wordpress

$30-250 USD

完了済み
投稿日: 13年以上前

$30-250 USD

完了時にお支払い
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.
プロジェクト ID: 804514

プロジェクトについて

12個の提案
リモートプロジェクト
アクティブ 14年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
Check your PM for solution. Thanks you.
$30 USD 1日以内
5.0 (203 レビュー)
6.8
6.8
この仕事に12人のフリーランサーが、平均$30 USDで入札しています
ユーザーアバター
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 0日以内
4.8 (101 レビュー)
6.6
6.6
ユーザーアバター
Please check inbox. Thnx.
$30 USD 0日以内
5.0 (234 レビュー)
6.4
6.4
ユーザーアバター
Hi, please see the PM
$30 USD 0日以内
5.0 (47 レビュー)
5.6
5.6
ユーザーアバター
US developer, details in PMB
$30 USD 0日以内
5.0 (23 レビュー)
5.0
5.0
ユーザーアバター
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 0日以内
5.0 (26 レビュー)
4.8
4.8
ユーザーアバター
################# Thanks for posting project. Please check INBOX for further details #################
$30 USD 1日以内
4.9 (19 レビュー)
4.8
4.8
ユーザーアバター
Hello, i can do it for you.
$30 USD 1日以内
5.0 (12 レビュー)
4.1
4.1
ユーザーアバター
Please check PMB
$30 USD 0日以内
5.0 (2 レビュー)
2.0
2.0
ユーザーアバター
Hi, we can do this for you...
$30 USD 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
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 1日以内
0.0 (1 レビュー)
0.0
0.0

クライアントについて

NETHERLANDSのフラグ
Rotterdam, Netherlands
5.0
2
メンバー登録日:10月 16, 2007

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。