Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter troyward

    (@troyward)

    Esmi

    In Apache error logs

    [Tue Nov 26 17:50:07.329128 2013] [ssl:warn] [pid 6028:tid 312] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
    [Tue Nov 26 17:50:07.468465 2013] [mpm_winnt:notice] [pid 6028:tid 312] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
    [Tue Nov 26 17:50:07.468465 2013] [mpm_winnt:notice] [pid 6028:tid 312] AH00456: Server built: Aug 18 2012 12:41:37
    [Tue Nov 26 17:50:07.468465 2013] [core:notice] [pid 6028:tid 312] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
    [Tue Nov 26 17:50:07.471463 2013] [mpm_winnt:notice] [pid 6028:tid 312] AH00418: Parent: Created child process 3340
    AH00548: NameVirtualHost has no effect and will be removed in the next release C:/xampp/apache/conf/extra/httpd-vhosts.conf:44
    [Tue Nov 26 17:50:10.667737 2013] [ssl:warn] [pid 3340:tid 324] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
    [Tue Nov 26 17:50:10.851860 2013] [mpm_winnt:notice] [pid 3340:tid 324] AH00354: Child: Starting 150 worker threads.

    I can not do anything that involves javascripting i think. It automatically resolves in 10 minutes and all my sites start behaving just fine.

    Thread Starter troyward

    (@troyward)

    I got replacing the < with &lt and &gt but it still strips them out. Also terms still appear below the title instead of below the post content.

    Thread Starter troyward

    (@troyward)

    jimhenrik thanks for the tip, removed there and used 'People: ') still the same result. I also noticed that the filter strips out HTML <p> and </p>

    It just shows People: Bob, Karen right above the post with no <p> surrounding them.

    Thread Starter troyward

    (@troyward)

    gidd thanks for the tip but even with add_filter the custom content appears before the post between post content and post title.

    I tested it on twenty twelve and twenty eleven. same result. Here is the code I tried:

    function add_post_content($content) {
    	if(!is_feed() && !is_home()) {
    		$content .= '<p>' . the_terms( $post->ID, 'people', 'People: ', ', ', ' ' ) . '</p>';
    	}
    	return $content;
    }
    add_filter('the_content', 'add_post_content');
Viewing 4 replies - 1 through 4 (of 4 total)