Connor Crosby
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Get Category Feed URLOr maybe if there is a way to get the slug of the current category?
Forum: Fixing WordPress
In reply to: Display Author's Twitter UsernameI have answered my own question after searching online. Probably should have done that first ?? D’oh! Here it is folks:
<?php if ( get_the_author_meta( 'twitter' ) ) : ?> <a href="https://twitter.com/<?php the_author_meta('twitter' );?>">Twitter</a> <?php endif; ?>
Forum: Fixing WordPress
In reply to: Get Category Feed URLbump
Forum: Themes and Templates
In reply to: Permalinking Featured Image using PHPNever mind, I figured it out by myself. If anyone is looking for the answer, use this code:
<?php if ( has_post_thumbnail() ) { ?> < a href"<? the_permalink(); ?>"><? the_post_thumbnail(); ?></ a> <?php } else { ?> <!-- HTML goes here --> <?php } ?>
Note: remove spaces in link tag. Also note not to use
<?php ?>
inside the code (only use<? ?>
)Forum: Themes and Templates
In reply to: Include Code If Certain Class is DisplayedI have an image slider and I only want the js to load if the class “slider” is on the page.
Although, I only plan on having it on the homepage, so maybe the
body_class()
as well.Thanks!
Forum: Themes and Templates
In reply to: If Home, Display Something, If Else, Display Something ElseOkay, sorry for the confusion. This is going to be put in the header.php file. I want to make it so if the homepage it being shown, a div container will be displayed. If it’s not the homepage, then I want a different div container to be displayed. Thanks! ??
Forum: Themes and Templates
In reply to: If Home, Display Something, If Else, Display Something ElseThanks, but I don’t think that’s what I am looking for.
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO] Titles Displaying Incorrectly@leev18 yes, that is what I ended up doing after not finding a solution to the original problem. Thanks.
Forum: Fixing WordPress
In reply to: Export WordPress ContentSorry, haven’t found a solution yet.
Forum: Themes and Templates
In reply to: Remove Title from Featured Image / ThumbnailOh, thank you!!
* bump *
Forum: Themes and Templates
In reply to: Remove Title from Featured Image / ThumbnailAlright, same. Thank you ??
Forum: Themes and Templates
In reply to: Remove Title from Featured Image / ThumbnailSadly, not yet. I think you have to edit the files to get this.
Forum: Everything else WordPress
In reply to: Need help testing WordPress WXR File Splitter — v. 1.5Oh darn, it’s for PC. I have a Mac. I guess I need to boot up the Windows side ??
Forum: Plugins
In reply to: WordPress Out of Memory when installing pluginI guess I need to contact my host, none of those options seem to work.