dashed-slug.net › Forums › Exchange extension support › How to create different pages for trading pairs
Tagged: shortcodes, static, static shortcodes, static templates, UI
- This topic has 8 replies, 2 voices, and was last updated 5 years, 8 months ago by alexg.
-
AuthorPosts
-
July 21, 2018 at 4:19 am #3769AnonymousInactive
Is it possible to create different pages for each trading pair instead of using the drop down.
For example having the ability to select the displayed pair within the short code by adding something like [wallets_exchange_chart pair=btc_eth]
this will be really good for SEO as well
Additionally, is it also possible to show the charts and everything just not allow trades to be completed by a user until they login. (have a popup / notification that tells them to login).
I feel like not showing anything is not as necessary as with the wallets, because of the information being shown. Obviously there is not data for user trades. But allowing a guest user to see the exchange activity before creating an account or logging in will be helpful.
July 21, 2018 at 11:35 pm #3810AnonymousInactivePrimarily would like to add coin related information such as recent tweets and what the coin / project is about they are about to trade as well.. This is what the separate shortcodes per pair would be used for
July 23, 2018 at 6:37 am #3816alexgKeymasterHello,
This makes sense. I will add some static shortcodes in the future. The current ones work with live polling over the JSON API and therefore probably won’t be very SEO friendly, although they do have their uses.
It has already been requested to be able to show the chart while not being logged in. This will be possible in a future release.
I will post here when the static shortcodes are implemented.
I am currently doing the same on the parent plugin.
kind regards
July 23, 2018 at 8:32 am #3839AnonymousInactiveYes, I also read the entire docs that were provided with the plugin (lots of great information). I am fiddling around with the list template for the pair listings that you reference to see maybe if I can come up with something.
Also curious if it might be not too much work to maybe also create an additional shortcode to display volume boxes for different pairs and their price in the selected pair (bitcoin primarily) and also in usd kindof like the attached image. (the chart/graph is not really necessary)
I know you have a lot on your plate but maybe as a future feature of somesort
Attachments:
You must be logged in to view attached files.July 23, 2018 at 9:10 am #3843alexgKeymasterYes, market volume and other market info will be displayable soon. This has already been requested by others and makes a lot of sense.
kind regards
July 30, 2018 at 9:55 am #3953alexgKeymaster24-hour market volume is now added in the
0.2.2-beta
release.August 12, 2018 at 7:51 pm #4031AnonymousInactiveWhat is the appropriate shortcode to use?
August 13, 2018 at 7:55 am #4032alexgKeymasterThe shortcode for displaying market info is
[wallets_exchange_market]
.April 10, 2019 at 4:56 pm #6148alexgKeymasterIn version
0.7.0-beta
of the Exchange extension, there are now static templates for the shortcodes.Static shortcodes are rendered once, server-side, and they require a market attribute, because they are only rendered for that one market.
There is detailed information in the documentation on how to use these. Please also see the full release notes here: https://www.dashed-slug.net/static-exchange-templates/
-
AuthorPosts
- You must be logged in to reply to this topic.