Incorrect processing for XML code text
-
Why not visible XML code with tag ‘code’ in FAQs? If you open the question as a page then the text turn to visible. FAQs pade link, question as page.
The page I need help with: [log in to see the link]
-
Hi iterissoft,
I am not sure what you mean by “not visible XML code with tag ‘code’”?
I went through your FAQ page having the FAQ shortcode [ultimate-faqs] (http://test.iteris-soft.ru/faqs/) and it seems to be working fine. If you go to the “Basic” area of the “Options” tab and set “Permalink Type” to “Main FAQ Page”, then go to your FAQ page and click on the permalink icon for one of your FAQs, you’ll see that it reloads the page with that specific FAQ expanded. And, in the address bar, you’ll see the unique link for that FAQ (should have something like ?Display_FAQ= on the end). Just copy this URL and you can use it as a FAQ page link with that FAQ already expanded open.
If you are trying to point to individual FAQ page then you can do so by visiting the link http://test.iteris-soft.ru/faqs/?Display_FAQ=501
Pretty Permalinks
Did you try to open both links from my first post and didn’t see the difference? In the first link there is no text:
`<MyStyleSettings styleNameTemplate=”V1″ />
This is the problem.I write screencast: https://autode.sk/2ydUj9j
This is video record from my screen.-
This reply was modified 6 years, 10 months ago by
Iteris-Soft.
I don’t really understand what you’re doing in that screencast. There are no extra shortcodes that go in the FAQs like that. I’ve never seen or heard of the shortcodes you’re trying to put in the FAQ body. Additionally, they don’t even look like proper shortcodes (the brackets should be square). If they aren’t shortcodes, but something else, then whatever that is isn’t supported by our plugin.
Are you seriously?? This is the basic functionality of WordPress! o_O
Well, see this article: https://www.wpbeginner.com/wp-tutorials/how-to-easily-display-code-on-your-wordpress-site/
Your plugin does not support this?-
This reply was modified 6 years, 10 months ago by
Iteris-Soft.
-
This reply was modified 6 years, 10 months ago by
Iteris-Soft.
Hi iterissoft,
I am not sure what formatting block are you adding to add the source code (as it is in Russian), but I tried it with the “Code formatting block” and the code that I added in the FAQ answer in backend renders properly in the frontend. Here are the snapshots for the backend and the frontend:
Backend:
Frontend:
Please try adding the code in the Code formatting block and then try again.
I tried again. I created a new site: test1.iteris-soft.ru. Pure English WordPress. No plugins, only Ultimate FAQ. The default theme is applied. Used the English browser FireFox. The problem has not disappeared.
The problem appears only on the FAQ page, which is created by the [ultimate-faqs] shortcode, when I expand the answer with the XML code.
Link to the problem page: http://test1.iteris-soft.ru/faqs/?Display_FAQ=13
Do you see the XML code?Screencast of the FAQ creation process: https://autode.sk/2ysPKYA
-
This reply was modified 6 years, 10 months ago by
Iteris-Soft. Reason: Edit links
Hi iterissoft,
Could you try wrapping the whole code block in an
<xmp>element? (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xmp)Then, for styling, try adding this code to the “Custom CSS” section in Options->Basic:
xmp { font-size: 12px; border: 1px solid; padding: 10px; white-space: pre-wrap;}Your advice did not work. Or I somehow applied it incorrectly. You can try it yourself on http://test1.iteris-soft.ru.
Login: Autor
Password: Autor@1
In addition, this tag is deprecated and is not recommended for use.
The fact is that because of this drawback of your plugin, plugins for highlighting the code syntax (for example, Enlighter: https://enlighterjs.org/) also do not work with XML code examples. I think that this is the problem of your plugin. And without some change in the code of your plugin, this problem will not be solved.Hi iterissoft,
This is a public forum, please do not send us your login credentials here. Anyone can access it and it may lead to security related issues on your site.
The fact that we sent you that tag is because your theme or any other plugin seems to be causing a conflict that is why the HTML text is not rendered properly. We tried the code formatting block on our demo site and it works fine with our plugin. We even sent you the snapshot in one of our previous replies which means this could perhaps be due to conflict with any other theme or plugin that you are using. Could you momentarily switch to a default WordPress theme, e.g. Twenty Nineteen and see if that makes a difference? You could also try disabling all other plugins and see if it works fine then. If it does, then you could enable the plugins one by one until you hit the issue again to find the plugin that is conflicting.
-
This reply was modified 6 years, 10 months ago by
The topic ‘Incorrect processing for XML code text’ is closed to new replies.