• On my blog, at tracybookmanphotography.com/blog, users can see the main blog page, but any time you try to display an individual post’s page, the following error is displayed. “Fatal error: Call to undefined function: vf_more_content() in /hsphere/local/home/tbookman/tracybookmanphotography.com/blog/wp-content/themes/a-screen-near-you-10/single.php on line 27”

    What is wrong with my themes that would cause this and how do I fix it?

    Thank you!

    -Tracy Bookman

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is purely quick guess work, but that appears to be a modification of a function in single.php that was used in conjunction with some plugin called “More_Tag”. I actually found a “read-me” parked in someones plugin folder on another blog. And I found several other blogs using the same theme, with the same issue, but I’ll be darned if I can find the exact plugin.

    USAGE
    To use this plugin:
    1. Unzip the files and edit the contents of include.txt to be whatever you want
    2. Upload the more_tag_modifier.php and include.txt to the plugins directory and activate it in the control panel
    3. Edit the single.php file in your templates folder (or whichever file displays single pages) and replace the_content(”); with vf_more_content(‘include.txt’);

    NB: You can call the include.txt anything you like, you just need to change vf_more_content(‘include.txt’); to vf_more_content(‘your_file_name.ext’);

    4. Voila, you’re done. Now when you visit a single post you should see your code wherever you put the <!–more–> tag in your posts.

    So I guess it would stand to reason, (because I saw no such plugin in your plugins folder), that you might try replacing

    vf_more_content('your_file_name.ext');

    with

    the_content('');

    in your single.php file and see what happens.

    so this;

    <?php vf_more_content('include.txt'); ?>

    will look like this;

    <?php the_content(''); ?>

    when you are done. I think…

    Make a backup copy first if you decide to try it. It takes only seconds to fix a bad idea with a backup copy. ??

    Thread Starter tbookman

    (@tbookman)

    Thank you. That seems to have resolved *that* problem. Now, I have noticed something similar showing up in other instances.

    For example, if I try to select a month from the Archives list, I get this error:
    Fatal error: Call to undefined function: the_excerpt_reloaded() in /hsphere/local/home/tbookman/tracybookmanphotography.com/blog/wp-content/themes/a-screen-near-you-10/archive.php on line 38

    If my counting is correct, meaning, if blank lines count, then this is line 38:
    <?php the_excerpt_reloaded(’50’, ”, ‘excerpt’, false, ”, false, 1, true); ?>

    AND, if I view an individual post page, then this message shows up in the sidebar:
    Fatal error: Call to undefined function: wp_cat_posts() in /hsphere/local/home/tbookman/tracybookmanphotography.com/blog/wp-content/themes/a-screen-near-you-10/sidebar.php on line 36

    Which, again, if my counting is correct, this is my line 36 in that file:
    <?php wp_cat_posts($catid,10); ?>

    All help is very much appreciated.
    Thank you!

    -Tracy

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme problem on individual posts’ is closed to new replies.