reinstecker
Regular Member
- Dec 2, 2011
- 370
- 1,267
Update - Title Rewriting
Here is my solution for title rewriting(it is simple, but effective...). Go to Appearance -> Editor and select "Theme Functions (functions.php)". Now scroll down to the end of the file and enter the following code:
Code:
add_filter('syndicated_item_title', 'fwp_set_title', 10, 1);
function fwp_set_title ($title)
{
$title = "Your new title";
return $title;
}
Make sure that you change "Your new title" to the actual title you want to use.
Update the file and with the next RSS fetching your post will have the new titles. Please note that this will only work if you use FeedWordPress for RSS fetching.
Some themes like "Postline" that I have mentioned before don't allow editing of the functions.php. Instead they require you to create customs-functions.php within the theme directory (/wp-content/themes/postline). The rest of the procedure stays the same, but you have to start the code with <?php
Code:
<?php
add_filter('syndicated_item_title', 'fwp_set_title', 10, 1);
function fwp_set_title ($title)
{
$title = "Your new title";
return $title;
}
Hope that helps
