Santiago
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Assistance Learning AJAXHi @gshell,
Hope you are doing well.
Two quick clarifications:
– When using ajax in WordPress, you always need to send an ‘action’ parameter so that WordPress knows which callback to invoke to handle the request.
In the codeadd_action( 'wp_ajax_my_ajax_test', 'my_ajax_callback' );the action name would be ‘my_ajax_test’.
So in JS side you need to add'action': 'my_ajax_test'to the data object.– success is one of many arguments for the ajax call. There you define the handler/callback for when the server responds successfully. It always receives a response argument containing the repsonse data.
That said, I recommend to go to the official docs for a comprehensive list of parameters http://api.jquery.com/jquery.ajax/
And also check some simple example to play with https://wptheming.com/2013/07/simple-ajax-example/
Hope this helps. Take care!
Forum: Fixing WordPress
In reply to: Widget Space is ScatteredHi there,
Hope you are doing well.
Have you tried to reach their support? https://www.mhthemes.com/support/
Commercial products are not supported in these forums.
Take care
- This reply was modified 7 years, 11 months ago by Santiago.
Forum: Fixing WordPress
In reply to: Images uploading UNEDITEDHi @brandia,
Hope you are doing well.
I’m wondering if you were able to solve the issue.
Was the link that I sent you of any help?Forum: Fixing WordPress
In reply to: refresh for all users?I’d say that the problem is not the plugin being out dated, but just some agressive cache configuration.
And yes, the plugin is widely used.
As a quick test, you can simply disable the plugin for a few minutes, create some new schedule and see if it refresh correctly for users.
If that works, then you can re-enable the plugin and start looking into fine tunning the settings.Cheers!
Forum: Fixing WordPress
In reply to: refresh for all users?Hi @coachmarino,
This is likely a cache issue.
Check if there is a cache plugin installed. It is probably applying a full page cache, so the users that are not logged in are getting a pre-saved version of the page.
Most of cache plugins allows you to add exceptions for specific pages.
Other alternative is to force a cache refresh every time he updates the schedule (not practical if this occurs frequently).Let me know if you need further assitance. Cheers!
Forum: Fixing WordPress
In reply to: Plugins for Car DealersHey @garotanzi,
Hope you are doing well.I found these two in plugin directory:
https://wordpress.org/plugins/wp-car-manager/
https://wordpress.org/plugins/auto-listings/I belive you can use almost any listing/ecommerce plugin that allows to create products(cars) with custom attributes and images.
I don’t have experience in the business, Is there some specific feature other than listing cars for sell?
Forum: Fixing WordPress
In reply to: Accidentally changed upload file path- broken imagesHi naturalstate,
First, the settings for the upload path under Settings->Media disappeared because you set it to the default ‘wp-content/uploads’ and, for some reason, WP is by design hidding these settings when the defaults are used.
This seems to have been solved when you installed the other plugin.
If this happens again, you can run the following SQL query to solve it (I assume you have access to phpMyAdmin)
UPDATE wp_options SET option_value = 'wp-content/foo' WHERE option_name = 'upload_path'
That will make the settings re-appear.The define(‘UPLOADS’) is expected to take precedence. And it is a relative path from the site root. This means that you should get rid of the part ‘/home/username/public_html/’.
That said, let’s try to simplify the situation:
Please remove the plugin that I recommended before. Remove also de define in wp-config.
Let’s only use the settings.
Store uploads in this folder: set this to what it was initially (/godaddyuser/www/wp-content/uploads)
Full URL path to files: leave this empty (IF you want to play with this setting, keep in mind that it is expected to be a url, not a path. it would be something like http://your-site/wp-content/uploads. In 99,9% of the cases this should be kept empty).Please keep me posted 🙂
Forum: Fixing WordPress
In reply to: Images uploading UNEDITEDI didn’t see you last message and I spent some minutes trying to spot the difference between the two images 😀
I’m not crazy, that’s good.So, if the problem is with the resized images used across the site, then this starts to make sense.
I believe this will help you to solve the issue:
https://www.wpbeginner.com/wp-tutorials/how-to-fix-image-color-and-saturation-loss-in-wordpress/Please keep me posted. Take care!
Beautiful site btw!
Forum: Fixing WordPress
In reply to: Images uploading UNEDITEDWould it be possible for you to share an edited image so that I can try on my end and also to check if there is something unusual on the format you are using?
Forum: Fixing WordPress
In reply to: url indexHi @matheushgas,
If I understand correctly, you need to change your permalinks structure.
Please check into Settings->Permalinks and asjust accordingly.
Hope this helps. Have a great day
Forum: Fixing WordPress
In reply to: Images uploading UNEDITEDHi @brandia,
Hope you are doing well.
I must admit you got a weird issue there.
WordPress doesn’t have the ability to unedit an edited image. So, there should be a confusion with how you are saving the edited files in photoshop.
I suspect you are exporting the edited file but keeping the original untouched, and then you are uploading the original to your WP site.I assume you are exporting a jpg or png image. Please double check the location where it is being saved and the location where you are uploading from.
Keep me posted and I’ll try to provide further support until we get to the bottom.
Cheers
Forum: Fixing WordPress
In reply to: Displaying Site TaglineYou are welcome,
I understand that Infinity Pro is a paid theme, and as such it is not supported in this forum.
You should reach they support since you are paying for it.Nevertheless, I’ll give you a clue for free 😉
Try adding this custom CSS:.site-header .site-description { text-indent: 0px; }You will need to figure out the rest of the styling with Infinity Pro support.
Take care!
Forum: Networking WordPress
In reply to: wordpress network (multisite) – change URL of main siteUnfortuntely, I don’t have an apache install at hand to test the htaccess rules.
You can find more completes example here https://beginnersbook.com/2013/08/redirect-subdirectory-to-root-using-htaccess/
Maybe that shed some light.
Cheers!
Forum: Fixing WordPress
In reply to: Displaying Site TaglineHello @drebeltrami,
It is hard to know where to start since you provided quite little context 🙂
I assume that you are developing a custom theme or child theme. Is that correct?
If that is the case, in the template that you want the tagline to show on you can use the following code to print the tagline<?php echo get_bloginfo( 'description' ); ?>Is that what you were asking for?
Let me know if you need further help 🙂
CheersForum: Fixing WordPress
In reply to: Accidentally changed upload file path- broken imagesHello there @naturalstate720,
Hope you are doing well.I suspect you changed the uploads path using a plugin. If not, you can try this one:
https://wordpress.org/plugins/wp-original-media-path/If you don’t want to use a plugin, you can set the define in wp-config.php
define(‘UPLOADS’, ‘wp-content/some-location’);Last, if you have already existing links or src pointing to images, you can do a bulk replace of the urls in your DB using this plugin:
https://wordpress.org/plugins/better-search-replace/Hope it helps. Cheers!
- This reply was modified 7 years, 11 months ago by Santiago.