ashleyrclark
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] reCaptcha blocked by submit buttonAha, I found it. Thanks for the recommendation. I had already tried adding a class to the reCaptcha form field, but in the end I got it work by adding:
.wpcf7-recaptcha { clear:both; } .g-recaptcha { clear:both; }
Forum: Fixing WordPress
In reply to: 301 redirects not working properly. Numbers in URL being ignoredThe underscores and hyphens are simply part of the url. They were not added specifically for the redirect.
I did figure this out this morning. It works if I change to a rewrite instead of a redirect.
So, this didn’t work:
Redirect 301 /international_organizations/africaamerica_institute https://nyintl.net/international-organizations-in-new-york/2792/africa-america-institute/
But this did work:
RewriteRule ^page\/working_in_nyc$ "http\:\/\/nyintl\.net\/work\-in\-new\-york\-101\-working\-in\-new\-york\-city\/" [R=301,L]
I still haven’t figured out why some of my redirects were working while ones containing numbers weren’t working. But I’m not going to look further into it now that I have a solution.
Forum: Fixing WordPress
In reply to: Install in sub-directory – will page/post URLs show directory name?Nevermind, found it. Followed directions on site, boom. Done.
Edit: Just saw your reply Tara. Thanks for your help, that’s the page I found and used.
Forum: Fixing WordPress
In reply to: Install in sub-directory – will page/post URLs show directory name?Okay, thanks for the quick answer. I may just have to deal with that–it’s not ideal, but it’s more organized on the back end.
One other question–if I just rename the folder it’s in, will that screw things up? Do I need to actually create a new folder and move it there following the step-by-step directions?
Forum: Themes and Templates
In reply to: Move featured image below post title – NanoAh okay, I did not realize that the support was limited to WPORG.
I’ve already contacted the developer, but no luck so far.
Thanks.Forum: Themes and Templates
In reply to: Move featured image below post title – NanoSure it’s https://mihnyc.com
Forum: Themes and Templates
In reply to: Move featured image below post title – NanoHi Connie,
Thanks very much for your help. Unfortunately I put that code in – in place of the code I had – and it didn’t change anything. The featured image persists in displaying above the title of the post.
Is it possible there is some other code elsewhere that is locking the order in place? I poked around a little, and the only other thing I found which might be related is single-post.php.
<?php /** * The Template for displaying all single posts. * * @package Nano */ global $data; get_header(); ?> <div class="row"> <div id="main" class="column medium-8"> <?php while ( have_posts() ) : the_post(); get_template_part( 'content', get_post_format() ); if ( 1 === $data['enable_author_info_box'] ) nano_print_author_info(); nano_content_nav( 'nav-below' ); if ( 1 === $data['enable_related_posts'] ) echo nano_related_posts(); // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) comments_template(); endwhile; // end of the loop. ?> </div><!-- end #main --> <?php get_sidebar(); ?> </div><!-- end row --> <?php get_footer(); ?>
As an alternative solution, I would be happy to learn how to simply block the featured image from showing at all on posts. I want to be able to set it so that it shows up as the post’s thumbnail, but it doesn’t need to show up in the post – I can simply manually insert it.
Forum: Themes and Templates
In reply to: Move featured image below post title – NanoAlso tried moving bits around in the single-post.php file and no luck there :/
Ah I see. It wasn’t listed in my plugin list, thus I assumed it simply came with WP. Either way, I got help elsewhere and fixed it. Thanks all who responded.
For posterity:
I had to open the wp-config.php file and edit the define( ‘WPCACHEHOME’ line to remove the old path and update it with the new path.I can’t log in due to the errors I have mentioned.
WP Super Cache isn’t a plugin, it’s what added the rewrite rules to the .htaccess file. I need the rewrite rules because otherwise it will look in the “dev” folder for all my files. But I do think there is something wrong with the rewrite because some files are still being looked for in the dev folder anyway
Aren’t those instructions for if I want it to remain within a subdirectory while having the url be that of the main directory? I have nothing to change require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ ); to. All the files are already in the directory I am using. I don’t want to call a subdirectory.
If I change to require( dirname( __FILE__ ) . ‘/tep/wp-blog-header.php’ );
Then I get an error because it is IN the tep folder already and then is looking for a subfolder also called tep.:/