Is this possible? using shortcodes? Custom post type? Custom Fields? CSV upload?

Unique content per page. Do not need to create new pages, Just update body of them.

Seems like a tough one?

Also can this be scheduled.

Specifically there are a dozen Horoscope pages, with a paragraph of text. I'd like to update each Horoscope paragraph (replace) with new text daily but leave page intact. Also would be great to schedule these updates.

  • 1
    How do you mean, update content? Update it how? Append to it? replace it? and with what exactly?
    – vancoder
    Mar 21, 2013 at 18:54
  • +1 on the above. Also, could you describe a scenario where you need to do this sort of thing? I'm curious about the use case. Mar 21, 2013 at 19:01
  • In my case, there are about a dozen pages, with a paragraph of text. I'd like to update each paragraph with new text daily, but leave page intact. Also would be great to schedule these updates.
    – user215856
    Mar 21, 2013 at 19:44
  • where does the content come from?
    – Milo
    Mar 22, 2013 at 0:58
  • 1
    Why have a page for a single paragraph? Could you not consolidate all that information into a single page, give that page a template, then add a query var onto requests to that page to determine which starsign to show(could default to the first sign when one isn't present). You could add one or two rewrite rules to pretty up the URLs to. Sorry i don't have time to write some proof of concept code(but that would be my approach).
    – t31os
    May 3, 2013 at 19:17

1 Answer 1


There are a few ways I might approach this.

The least intrusive would be to add a few empty spans or divs on your page and use the jQuery get method to fill these with text from the appropriate file.

Another possibility, but less secure would be to use a plugin that allows you to execute php code in your page. There are some serious security risks to this if you've got a group edited blog.

The most secure would be to define your own shortcode to do this, either as a custom plugin or in your theme's functions.php.

All of these would allow you to bulk upload multiple days worth of files, and automatically load the correct one by day. The jQuery option would be the easiest to load the correct horoscope for the current visitor.

  • Thanks, looks like I need a crash course in jQuery, could anyone point me in the right direction to accomplish the task above?
    – user215856
    Mar 22, 2013 at 1:03
  • The last example on the get documentation page should get you started, as well as the append documentation
    – cpilko
    Mar 22, 2013 at 1:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.