katanga1987
Forum Replies Created
-
Forum: Plugins
In reply to: [JWT Authentication for WP REST API] Username returns emptyI managed to figure it out. Super tiny tweak to what was there.
// Login to account service loginFixxrCustomer(email, username, password) { // Set Http headers //let headers = new HttpHeaders({ // 'Content-Type': 'application/json' //}); // Set values for credentials for user //let credentials = <code>username=${username}&email=${email}&password=${password}</code>; // Create API Call this.apiUrl = <code>${this.siteUrl}/wp-json/jwt-auth/v1/token</code>; console.log('API URL: ', this.apiUrl); // Authenticate response return new Promise ((resolve) => { this.http.post(this.apiUrl, {username, email, password}).subscribe((successResp) => { resolve(successResp); }, (errorResp) => { resolve(errorResp); } ) }); }
Forum: Fixing WordPress
In reply to: Two-language website setupHave you checked out WPML? As far as I am aware it allows you to have different installs of WordPress as you have detailed.
If you are not getting a database upgrade prompt then do the following…
Check if the upgrade has been run in the past by checking your database wp_options table and find the “acf_version” row. This option contains the last known version of ACF installed. If the version is higher than 5.0, the upgrade has already run and will not appear.
It is possible to force ACF to run the upgrade again by editing this row in your DB and changing the option value to “4.4.12”. Please be sure to backup your database before making this change to avoid any “duplicate data” created in the second upgrade.
This is detailed in ACF DB Upgrade Guide
This worked for me…
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] ACF data disappears after updating pluginFields disappeared after updating but upgrading the database did the trick to return everything back to normal.
Here is the upgrade guide…
If you are already on V5 you might not get an upgrade notice in which case you need to go to your wp_options table (via phpMyAdmin) and edit the acf_version field to 4.4.12.
You will get the notice…
To be safe take a backup of your DB but this worked for me.
Awesome!! Sorted!
Hi Stanislav…
Have added the fields as noted Car_Makes, Car_Models & Car_Year as text fields.
Have set Car_Makes and Car_Models as required.Possible to provide update of extension where it would pre-populate these fields?
Or if you need logins to do it on the site then just drop me an email and will mail logins.Hi Nazmul…
Thanks for the reply and completely understand your point of view.
Will note the same issue with WCFM and see what they have to say.
Forum: Fixing WordPress
In reply to: Modifying Heading in Uptown StyleSend me the code you have at the moment so that I can see what you have tried…
Forum: Fixing WordPress
In reply to: Facebook doesnt show thumbnail on shareHi,
So know this is probably going to sound simple but clear your cache if and when you make updates otherwise Facebook won’t pick up changes immediately.
Also ensure that the images being used for your feature image are in the dimensions supported by Facebook (or close to that at least) – too small and the images don’t get used.
Also what sometimes helps is if you setup and make use of Yoast SEO plugin, setup the Social Media meta so that it ‘forces’ the use of your featured image when sharing and then defaults to a default site image if no featured image is picked up.
Hope some of these suggestions help…
Forum: Fixing WordPress
In reply to: Modifying Heading in Uptown StyleHi,
Which files exactly are you trying to edit when making code changes?
Having had a look at the theme you would need to change your header.php file and then update your style.css file to align your added code to the right.
Forum: Installing WordPress
In reply to: How do I install WordPressHi Martin…
You can download WordPress for free here: https://www.ads-software.com/download/
Winzip here: https://www.winzip.com/landing/download-winzip.htmlYou can use WinZip to unzip WordPress files into directory of your choice and run the install.
If you have a hosting company with Softaculous you can use one-click install without needing to use the zip file.
No problem – figured it out.
Thanks for the guidance.
Forum: Installing WordPress
In reply to: How do I install WordPressHi Caroles…
Here is an article that highlights .org vs .com: https://ithemes.com/tutorials/wordpress-com-vs-wordpress-org/
I am assuming that the page where changes are not showing up is your home page right?
If so then have a check at the article on how to set a specific page as your static front page.https://codex.www.ads-software.com/Creating_a_Static_Front_Page
Typically WordPress defaults to your blog page as the front page for your site.
If you still need help feel free to give a shout.
Compliments of the new year and thanks for the guidance.
Could you perhaps provide code example of editing ‘Products’ to ‘Bookings’ and hiding ‘Reviews’ tab completely using apply_filters?
Thanks!
Forum: Fixing WordPress
In reply to: how can i add my geographic location in the footer of my websiteHi,
This link might help: https://docs.presscustomizr.com/article/206-integrating-a-google-map-of-your-headquarter-in-the-footer-of-the-customizr-theme
This is assuming you have the ability to edit the footer of your theme inherently via the theme (know some themes don’t make this easy out-the-box).