Find freelancers. Lose those costly delays.

With 1.7 million freelancers, we'll match you with the perfect talent.

or, Register with Elance »

Customize WP Function
Sign in to Add to Watch List

IT & Programming > Blog Programming

View Change History

The client has made the following changes to the job.


Job awarded.

Dec 3, 2012

Job Description

  |  Change History >>


  • Posted: Sun, Dec 02, 2012
  • Time Left: Closed
  • Location: Anywhere
  • Client prefers freelancers from:

    You are still able to submit a proposal for this job.

    The client prefers freelancers from
    a different location.

    You're still able to submit a proposal for this job, regardless of your location.
  • Start: Immediately
  • Hourly Rate: Less than $10 / hr
  • Hrs/wk: 1 | Duration: 1-2 weeks
  • Work View™ Payment Protection
  • U.S. freelancers must have W9
Sign in to view client's details

I have a wordpress function which i need customized i need to make the read more function be coded to be as follows below:

if $content has more than 80 words -> then display the_permalink()

Below is the function :

function content($num) {
$theContent = get_the_content();
$output = preg_replace('/<img[^>]+./','', $theContent);
$output = preg_replace( '/<blockquote>.*<\/blockquote>/', '', $output );
$output = preg_replace( '|\[(.+?)\](.+?\[/\\1\])?|s', '', $output );
$limit = $num+1;
$content = explode(' ', $output, $limit);
$content = implode(" ",$content)."...";
echo $content;

and this is how we have it implemented in the template..:

<?php content('90'); ?> <a href="<?php the_permalink(); ?>">Read More</a>

This is a simple job....need it really quick

Sign in or Register to see more

Desired Skills
PHP, WordPress
Job ID: 35684700
Hourly Rate: Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)

 United States  |  
We are a group of talented software engineers experienced in creating Web, Mobile, and Desktop applications for many clients over the years. We...
 5.0   |  Private   |  5 Jobs
Bid ID: 35688410  |  Submitted: Dec 2, 2012 21:38 ET 
Proposal SEALED

Sagar Seth      
Sagar Seth's identity has been verified.  Learn More
 India  |  
We are a team of highly skilled and passionate Developers,Designers and Programmers. We have over 8 years of professional experience in creating...
 4.7   |  Private   |  37 Jobs
Bid ID: 35688082  |  Submitted: Dec 2, 2012 21:17 ET 
Elance is now an Upwork company.
Upwork is the choice of 4M+ clients. Get started working on Upwork today.
Are you ready to post a job like this one?
Post a Similar Job »