Hi Dan,
I have the AWH theme the link visit site is working perfect, but it redirects me to wordpress root. Also I was reading a lot here in the forum and I also cannot find the Visit Site Box in Posts.
it show some error in rs_init funtion on the line where
add_action tells the wp to include the Visit Site Box in the posts.
Thanks
What is the error message? You might want to e-mail me for faster help as I only visit the forum once a day or so.
here is the error message:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wprs_add_aff_box' was given in C:\wamp\www\wp-includes\plugin.php on line 339
btw I am using 2.8 wp
wprs_add_aff_box() is in the same file as the add_action that calls it. Maybe you should try re-uploading the plugin to make sure nothing got corrupted.
Dan, I've looked up in the review-site.php but as I can see there is no wprs_add_aff_box() function. All the others are ok, the visit_site_link() function is there, also in the template the <?php visit_site_link('Visit this host') is here but i cannot see the funtion you mentioned.
It would be nice if write the function here because I don't want to go in risk to set all up from the beginning if something goes wrong by my mistake
))
Cheers,
Spirko
I just redownloaded the wpreviewsite.zip from the website, wprs_add_aff_box is on line 262. If it's not in your file, you have a corrupted file somehow or deleted some of the code. Either way, redownload it using the link in your receipt e-mail and upload it to your site again.
Hi Dan,
Yes thank you, It works now. I don't know what could have happen, but now is OK![]()
Have a nice Day.
Sending ...