Adding regex filter to feedwordpress

Fixed it with: function fwp_rss_regex ($content) { $content = preg_replace(‘/\<[^\>]*\>/i’,”,$content); return $content; } This solved the problem: 1) Because $content was the item I wanted I wanted to pass through fwp_rss_regex, 2) Because I fixed my preg_replace with /______/i , and 3) I realised $content = $post->post_content(); was either a superfluous (though maybe valid) command, … Read more

multiple taxonomy select display only one in front end

add a loop to display all taxonomy : if (2 > count($locations)) { echo ‘<strong>Location:</strong> ‘.$locations[0]->name.'<br>’; } else { echo “<strong>Location:</strong>”; echo “<ul>”; foreach ($locations as $l) { echo “<li>”; echo $l->name; echo “</li>”; } echo “</ul>”; } . other loop with all location on the same line $stack = array(); foreach ($locations as $l) … Read more