Devam Ediyor

514907 Wordpress Plugin Development

I need a Wordpress plugin that can insert text links into the body of blog posts that are pulled from RSS feeds. I found this piece of code and I think it may help to do what I need but I am not sure.

I have copied the info below from a blog post I found in doing research for this plugin.

" This article will show you a snippet that will let you enter ads within the post content after the first paragraph.

- - - - -

First open your [url removed, login to view] file and look for the content code that would look something like this:

<?php the_content(); ?>

Replace that code with the codes below:

<?php

$paragraphAfter= 1; //display after the first paragraph

$content = apply_filters('the_content', get_the_content());

$content = explode("</p>", $content);

for ($i = 0; $i <count($content); $i ) {

if ($i == $paragraphAfter) { ?>

<div>Your Text / Ads Go Here</div>

<?php }

echo $content[$i] . "</p>";

} ?>

You may change the number of paragraphs by changing $paragraphAfter line. "

- - - - -

Is there a way to randomize the text and links that could appear here... <div>Your Text / Ads Go Here</div>

What I need is a line of text that looks similar to this...

||| This article is shared by {Mickey Mouse~Donald Duck~Goofy~Han Solo}

Which would appear after the first paragraph in the auto posted blog post in which the anchor text links would vary based on what I needed them to be for that blog.

Is this possible?

Beceriler: Her şey Kabul, Blog, HTML, PHP, Araştırma, WordPress

Daha fazlasını görün: wordpress posts not found, wordpress development help, rss plugin wordpress, php plugin development, go development, auto blog plugin, WordPress PHP development, research p, plugin development, piece-auto, auto post rss, auto body, anchor plugin wordpress, shared mouse, code snippet wordpress, wordpress anchor, wordpress replace plugin, wordpress code snippet, post content wordpress php, wordpress auto post article, plugin development wordpress, will wordpress plugin, research wordpress, wordpress plugin code, donald needed

İşveren Hakkında:
( 5 değerlendirme ) Smyrna, United States

Proje NO: #2260839