mitch84
Forum Replies Created
-
My hosting provider said the error Is caused by code, not server side…
Yes this is a subdomain, in fact from a different wp installation in a different domain it worksa, how can I solve?
Just now the error shown (for users logged in) is
This XML document is invalid, likely due to invalid characters. XML error: SYSTEM or PUBLIC, the URI is missing at line 1, column 51I’m using your widget to show in the sidebar inside this site https://chiesapastafariana.it/ the feed elements just linked, and in the footer (on the first block on the left) the feed elements from https://osservatore.chiesapastafariana.it/rubrica/posta-pirata/feed/ and in both case doesn’t work
Thank for the assistanceSorry, the correct url is:
https://osservatore.chiesapastafariana.it/rubrica/news-estero/feed/Forum: Fixing WordPress
In reply to: WP HTTP Error: Too many redirectsThank for the reply, no you are not seeing feed from https://osservatore.chiesapastafariana.it/rubrica/posta-pirata/feed in this space in the footer https://nimb.ws/RexMPd and, inside the site, you are not seeing feed from https://osservatore.chiesapastafariana.it/rubrica/news-estero/feed in the sidebar https://nimb.ws/34E89s (here you see what i’m seeing when logged in)
- This reply was modified 5 years, 11 months ago by mitch84.
Forum: Developing with WordPress
In reply to: assign custom author page based on author roleThanks again for the reply, actually the problem was in the file: I didn’t have to put the code in function.php but in single.php (I correct directly the point where is the link to the author) the if I had works
Forum: Developing with WordPress
In reply to: assign custom author page based on author roleThanks a lot for the reply, yes it is clear that it is enough use “pre_get_posts” action to setup the posts query to find CPTs to build an author page, but the point is that it is my goal to overwrite the post author’s link to point where I want to, and this code in my functions.php works:
add_filter( 'author_link', 'new_author_link', 10, 1 ); function new_author_link( $link ) { $link = 'https://osservatore.chiesapastafariana.it/ahrr/eventi/categoria/eventi-molise/'; //my custom link that overwrite the author link return $link; //after you've set $link, return it to the filter }Of course this works on every authors, I want to differentiate the link by role.
I need a different link for each role, I’m looking for something likeif $role_author=='my_costom_role'{ //my custom link }Thank for the support
Forum: Developing with WordPress
In reply to: assign custom author page based on author roleThanks for the reply. Many of my users work only in custom post type, those dedicated to custom posts should have the author page oriented towards a custom taxonomy cathegory. They are divided into different roles: each role should ensure that the assigned author produces a link to the related custom tax cat when the user clicks on the author name. It’s okay to specify it manually for each role, but I can’t do it for every author, there are too many
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] unable to send html mailthe problem was due to the plugin, I bypassed the function and solved it with mailchimp, thanks anyway