amandathewebdev
Forum Replies Created
-
Forum: Plugins
In reply to: [HUSKY - Products Filter Professional for WooCommerce] Stopped workingHere is the URL where it’s happening:
http://lgs2015.wpengine.com/product-category/granite/Forum: Plugins
In reply to: [HUSKY - Products Filter Professional for WooCommerce] Stopped workingWhy was this marked as resolved?
I went through all my plugins, deactivated each one by one. The links still did not work.
Forum: Fixing WordPress
In reply to: Make first image in post featured if no featured is setHi Marios,
Thanks for replying. I double checked and yes, they all have img tags.
Forum: Fixing WordPress
In reply to: Two WP Installations – now I want to make the dev liveHi JD – I just wanted to let you know this worked for me!
A note in case anyone stumbles on this and makes the same mistake:
– I forgot to change the URL in settings like you advised. Luckily I was able to do this in wp-config.php with this code:
define('WP_HOME','http://yoururl.com'); define('WP_SITEURL','http://yoururl.com');– I had to reset the Permalinks afterwards to get the pages to link right. You can do this by going to
Settings > Permalinksand just hitting “save” without making changes.Forum: Plugins
In reply to: [Recent Posts Widget With Thumbnails] First image not showingI used this plugin: https://ww.wp.xz.cn/plugins/wordpress-importer/ and I see now that the images are showing up in my posts with the old domain URL. Would that have any effect? Does the image have to be a part of the same install the plugin is on? This won’t grab external URLs?
Forum: Plugins
In reply to: [WordPress Importer] Export import imagesI’m having problems with this too. I imported blog posts from another wp install and made sure to import media. I then saw that the URL of the imported images were of the old domain. They show up because that old domain is still intact, but it won’t be much longer, so I will lose all of those images.
HALP
Forum: Fixing WordPress
In reply to: Two WP Installations – now I want to make the dev liveThanks so much, James. I’m trying to get it all set up before I take the plunge. One follow up question for you: Will swapping the /dev files into the main directory mess up any database links? Or no because of the wp-config file?
Forum: Fixing WordPress
In reply to: Woocommerce page that displays two product categoriesAlrighty I’ll go there. Thank you
Forum: Themes and Templates
In reply to: Organizing tons of CPTs without WoocommerceI found this, but I’m not really trying to spend money, I’d like to do this myself. http://www.woothemes.com/products/catalog-visibility-options/
Forum: Plugins
In reply to: [Client Logo Carousel] Add text to the imagesAwesome, that did it 🙂 Thank you!
Alrighty, I used the Server key instead of the Browser Key, and now the plugin is working. Thank you for your help and quick responses!
I will note that in the documentation it’s not clear that I would need to use the server key in place of the browser key, it just seems to state that I would need to only generate it.
Anywho, I’m happy! Thanks again!
No worries I know you’re trying to help me cover my bases. I did use my own site URL (I just didn’t want to put it here since it’s a client’s site) and no I did not create a Server Key, I will try that and see if that resolves it.
Hi there,
Thanks for the response. The link you provided are the instructions I followed creating the API key.
I rewrote the directions in my own words.
1.) Log in to the google account associated with the Google Places page
2.) Visit the Google APIs Console: https://console.developers.google.com/project
3.) Create a project (Name it whatever, “WordPress API” would be handy for future reference)
4.) Click on the project, and you will see a left hand menu. Click on “APIs & auth” then “APIs” under that.
5.) You’ll see a ton of options/links but the one we need isn’t there, so in the search field type “places”
6.) In the search results you should see: Google Places API Web Services. Click on that.
7.) Click “Enable API” (give it a sec to load)
8.) Then in the left hand menu again, select “Credentials”
9.) Once in Credentials, click “Add Credentials” and select “API Key”
10.) Select “Browser Key”
11.) Name it whatever you’d like, and put this in the second option: *.yoururl.com/*
12.) Click “Create” and it should generate an API key for youThen in Settings > Google Reviews, I pasted the API Key in.
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] I can't change the zoom on my Google MapIs anyone familiar with this/able to help?
Forum: Plugins
In reply to: [Custom Post Type UI] Grouping posts in admin under a category nameAlrighty, thanks to Michael and a fellow named Vard on Stack Overflow I was able to get this resolved. For anyone looking at this in a similar jam, this is the code I used, and here is the link to Vard’s help: http://stackoverflow.com/questions/32100011/custom-post-types-slug-and-permalinks-issue-seo-and-structure/32100586?noredirect=1#comment52141071_32100586
//Rewrite cpt slug to get rid of 404 generated by the function below add_filter('generate_rewrite_rules', 'my_rewrite', 9); function my_rewrite($wp_rewrite) { $wp_rewrite->rules = array_merge(array( '^([^-]*)-county-([^/]*)/([^/]*)/?$' => 'index.php?post_type=county-job&county=$matches[1]-county-$matches[2]&county-job=$matches[3]' ), $wp_rewrite->rules); } //No longer use links with /county-job/ as prefix and target anywhere this link might generate with filters. add_filter( 'post_link', 'my_post_link', 10, 3); add_filter( 'page_link', 'my_post_link', 10, 3); add_filter( 'post_type_link', 'my_post_link', 10, 3); add_filter( 'category_link', 'my_post_link', 11, 3); add_filter( 'tag_link', 'my_post_link', 10, 3); add_filter( 'author_link', 'my_post_link', 11, 3); add_filter( 'day_link', 'my_post_link', 11, 3); add_filter( 'month_link', 'my_post_link', 11, 3); add_filter( 'year_link', 'my_post_link', 11, 3); add_filter('post_link', 'my_post_link', 1, 3); function my_post_link($post_link, $id = 0) { $post = get_post($id); if(is_object($post) && $post->post_type == 'county-job') { return str_replace('county-job/', '', $post_link); } return $post_link; }