Nathan Parikh
Forum Replies Created
-
Forum: Plugins
In reply to: [User Profile Picture] REST API Errors@blizzard0627 @lesliebigos the issue for my client was that they were using WP Engine hosting, with Global Edge Security (which I believe uses Cloudflare) enabled.
Because of this, WP Engine had to whitelist our IPs in order for us to update.So far, it’s been working.
Hope this is helpful for someone!
Forum: Plugins
In reply to: [User Profile Picture] REST API Errors+1 for this, I’m having the same error.
Thanks Amar, worked like a charm!
Forum: Plugins
In reply to: [Dave's WordPress Live Search] Search results not displaying after AJAX callHere’s my current code for loading the content via ajax, for your reference:
//Load content from #ajax-content $('a.trigger').click(function(e) { // prevent link from doing it's thang e.preventDefault(); var hrefVariable = $(this).attr('href')+' #ajax-content'; $('#ajax-content').hide('fast',loadContent); $('#load').remove(); $('section.container').append('<span id="load">LOADING...</span>'); $('#load').fadeIn('normal'); // load specific content from an element within a new url into current pages element (#ajaxBin) //$('#ajax-content').load(hrefVariable); function loadContent() { $('#ajax-content').load(hrefVariable,'',showNewContent()); } function showNewContent() { $('#ajax-content').fadeIn('normal',hideLoader()); } function hideLoader() { $('#load').fadeOut('normal'); } //This is where we update the address bar with the 'url' parameter url = $(this).attr("href"); window.history.pushState('object', 'New Title', url); //return false; //alert(hrefVariable); });
Forum: Fixing WordPress
In reply to: 'Unable to create directory uploads/2013/03.Thanks a lot rockstix, this is just what I needed.
Have a client hosting WP on GoDaddy/Windows Hosting and it is a pain!Forum: Fixing WordPress
In reply to: Sorting Users by Name Doesn't WorkAh, I figured it out. The sort by Name relies on the “Display name publicly as” setting. So even though a user has a first/last name filled out, that setting must be updated to be their First/Last name.
Glad it helped, Andrew!
You are probably calling it outside of the loop, so it doesn’t know which post ID to reference, so it’s drawing a blank.
This will most likely be your solution:global $wp_query; $thePostID = $wp_query->post->ID; if( kd_mfi_get_featured_image_url( 'full-background-image', 'page', 'full', $thePostID ) != "" ) { echo kd_mfi_get_featured_image_url( 'full-background-image', 'page', 'full', $thePostID ); }
Did you get this working?
Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] How to create gallery templates?Here’s how you create your own template:
– In the directory where WP is installed, go to wp-content/plugins/nextgen-gallery/view/
– Download “gallery.php”
– Rename “gallery.php” to “gallery-templatename.php”
– Inside your theme folder, create a folder named “nggallery”
– Upload “gallery-templatename.php” to the “nggallery” folder that you just created
– To use, use this shortcode: [nggallery id=1 template=templatename]
– That’s it! ??NOTE: If you are using a theme framework (Thematic for instance) the “nggallery” folder must go inside that folder NOT the child theme folder.
Have fun!
Forum: Plugins
In reply to: Allowing comments on Home.phpok I found one way to fix the problem, just make the home.php file a page template, create a page with Home as the template, and through the dashboard under Settings>Reading make that page the home page.
Still wondering what the php would be so I could just hardcode it though….
Forum: Fixing WordPress
In reply to: Specific widget on specific pageanybody?
Forum: Fixing WordPress
In reply to: Comment Author links not working.yep, same problem I had. Just upgrade the Analyticator plugin and everything worked fine for me!
Forum: Installing WordPress
In reply to: Login does endless redirectno, it was on a different site.
Thanks though, everything seems to be working fine now.Forum: Fixing WordPress
In reply to: Excerpt showing text from wrong postbump