Any options I set doesn't save. It reverts back to whatever the default is. hmmm3. Change slug author URL to Custom
Any options I set doesn't save. It reverts back to whatever the default is. hmmm3. Change slug author URL to Custom
I don't know what this is in reference to, but I only have the first option OnThe only option in XenWord is to turn on / off access to the user panel.
That is meJust looked at the edit slug plugin and another person posted that it was not saving.
wordpress doesn't seem to use it
public function getParsedObject() {
if(!$this->posts) {
return array();
}
foreach($this->posts as $key => $val) {
$ret[$key]['post-id'] = $val->ID;
$ret[$key]['post-slug'] = $val->post_name;
$ret[$key]['post-url'] = get_permalink($val->ID);
$ret[$key]['date-published'] = date(get_option('date_format'), strtotime($val->post_date));
$ret[$key]['date-modified'] = date(get_option('date_format'), strtotime($val->post_modified));
$ret[$key]['thumbnail'] = $this->getPostThumb($val->ID);
$ret[$key]['thumbnail'] = !empty($ret[$key]['thumbnail']) ? $ret[$key]['thumbnail'] : LS_ROOT_URL . '/static/img/blank.gif';
$ret[$key]['image'] = '<img src="'.$ret[$key]['thumbnail'].'" alt="">';
$ret[$key]['image-url'] = $ret[$key]['thumbnail'];
$ret[$key]['title'] = htmlspecialchars(__($val->post_title), ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE);
$ret[$key]['content'] = wp_strip_all_tags(__($val->post_content));
$ret[$key]['excerpt'] = $this->getExcerpt();
$ret[$key]['author'] = get_userdata($val->post_author)->user_nicename;
$ret[$key]['author-id'] = $val->post_author;
$ret[$key]['categories'] = $this->getCategoryList($val);
$ret[$key]['tags'] = $this->getTagList($val);
$ret[$key]['comments'] = $val->comment_count;
}
return $ret;
}
$xenword_author_user_nicename = get_the_author_meta( 'user_nicename' );
$xf_author_link = get_site_url() . '/author/';
$xenword_author_link = $xf_author_link . str_replace(' ', '-', $xenword_author_user_nicename );
return $xenword_author_link;
hmmm edited and restarted web server with no luckThis was working locally - but - your site is much more complex. Let's see what happens.
hmmm edited and restarted web server with no luck
That worked! I'm not how that logically makes sense to turn on that setting though
I think I'll need an htaccess redirect for the links coming from my XF?
It's not a XW issue, but I have links in user postbit areas that link to their author page. This is generated simply by adding their username to the base author URL. So I need to interrupt and fix the url for those with a space.What links and is this a different issue?