vrpr
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Paypal plugin – strange results in the tableThanks for your answer. I’m writing a WordPress plugin that adds a PayPal payment button to a page. Then these payment data should be displayed in the admin panel in the “Orders” table and an email will be sent to the buyer (the table is created by the plugin). And in this table, I get the email and the name of the buyer from the previous payment.
I also downloaded a plugin from www.ads-software.com that works in the same way and creates an “Orders” table – and in it I also get the data of the previous payment in the table.
I can assume that I did not write the plugin correctly and it does not work correctly, but I see another plugin that works exactly the same way and also saves the data of the previous order to the table.I would like to know what is going on.
Forum: Plugins
In reply to: [Checkout for PayPal] Strange data in the orderNow I did it on real site – happend the same.
Forum: Plugins
In reply to: [Checkout for PayPal] Strange data in the orderThanks for your answer. No, I don’t have any caching. I am testing from localhost (XAMPP).
Forum: Developing with WordPress
In reply to: Got error 500 if php is php 8.1Forum: Plugins
In reply to: [WP Hotel Booking] Plugin activation errorYes, I change php version from 7.2.34 to 8.0.11 and now all working and there is not error. Thanks!
Forum: Developing with WordPress
In reply to: Taxonomy panel not visibleIt turns out that the taxonomy panel on the sidebar of the block editor is displayed if you wait a few minutes.
Is it normal?Forum: Developing with WordPress
In reply to: Taxonomy panel not visibleAny ideas?
Forum: Fixing WordPress
In reply to: Template in pluginI thought it might be necessary to apply specific classes – for example with the name of the plugin and styles for them – so that the theme styles do not affect the look of the pages created by the plugin.
I don’t know if this is the right approach.Forum: Fixing WordPress
In reply to: Link to taxonomyThanks for your answer. But if I use other words how the tax or term – I get the same result.
Which link is correct:
mysite.com/taxonomy/wdvdocscat/books
mysite.com/wdvdocscat/books
mysite.com/taxonomy/books
For some reason, I can find on the Internet how to create a taxonomy, what the taxonomy template should be called, but I can’t find how the link should look like.
My taxonomy – it is taxonomy for custom post type, maybe name for this custom post type must be in link too?- This reply was modified 2 years, 10 months ago by vrpr.
Forum: Fixing WordPress
In reply to: Link to taxonomyI did it many timer.
Forum: Fixing WordPress
In reply to: Change the dates of the postsThanks for your answer. I am writing a plugin so using another plugin is not a good idea. Maybe you have any thinking about changing the dates for the posts. Is it good idea or not?
Forum: Developing with WordPress
In reply to: Protect queries against SQL injectionThanks for the answer.
Forum: Developing with WordPress
In reply to: Rest APII created a simple live search plugin.
The plugin creates one table in which it data is saved and the plugin receives data from standard WordPress tables when it make search.
I used direct database access.
But I was reading that there is a requirement that access to the database should be only using the Rest API.
How I understand – I must write specific route (register_rest_route) and use WP_Query in function what will get data from data base.
I’m under the impression that WP_Query can only be used to work with standard WordPress tables.
I couldn’t figure out how to use WP_Query to get or store data in my WordPress table created specifically for my plugin.
Is this true or am I just not knowing enough WP_Query?Forum: Fixing WordPress
In reply to: Table ‘…’ doesn’t existHello @aitpro. It’s just that I have reinstalled XAMPP several times so I’m tired of it. I will use the old XAMPP for now and somehow later I will go your way. Maybe I’ll wait for the next version of wordpress.
Forum: Fixing WordPress
In reply to: Table ‘…’ doesn’t existHello @hamid256br
Above @aitpro told how he solved the problem. And I installed the old XAMPP 7.3.2 and it working good.