ristretto6
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Removing blog features from static front pageThank you! The breadcrumb trick worked, but unfortunately I don’t see any “Allow comments” option when I click Edit from the homepage. Could this option be hiding somewhere else, possibly?
Forum: Fixing WordPress
In reply to: Error message when uploading photoI don’t think it’s any of my plugins–I’ve disabled them all, tried uploading the image again, and still got the same error message. Now I’ve re-enabled all of my plugins, but can you please clarify for me how to change the permissions on the wp-content directory so I can try your other solution?
Thanks!
Forum: Fixing WordPress
In reply to: Error message when uploading photoSorry, but how do I change permissions on the wp-content directory?
Forum: Fixing WordPress
In reply to: Blog post not showing upThat was exactly what I needed to do, thank you!
Thanks!
Forum: Fixing WordPress
In reply to: Additional Caption Below ThumbnailSorry, I’m confused by your answer…Does that mean it’s not possible to add a caption below the image? Or that it should be happening automatically and it’s not because of my theme?
Okay I’m sorry, I did just find my backup file. I’m going to post the code here for posterity in case this ever happens again! FYI, here is the code that activates the features I listed above:
<?php
/**
Template Page for the gallery overviewFollow variables are useable :
$gallery : Contain all about the gallery
$images : Contain all images, path, title
$pagination : Contain the pagination contentYou can check the content when you insert the tag <?php var_dump($variable) ?>
If you would like to show the timestamp of the image ,you can use <?php echo $exif[‘created_timestamp’] ?>
**/
?>
<?php if (!defined (‘ABSPATH’)) die (‘No direct access allowed’); ?><?php if (!empty ($gallery)) : ?><div class=”ngg-galleryoverview ngg-template-caption” id=”<?php echo $gallery->anchor ?>”>
<?php if ($gallery->show_slideshow) { ?>
<!– Slideshow link –>
<div class=”slideshowlink”>
slideshow_link ?>”>
<?php echo $gallery->slideshow_link_text ?>
</div>
<?php } ?><?php if ($gallery->show_piclens) { ?>
<!– Piclense link –>
<div class=”piclenselink”>
piclens_link ?>”>
<?php _e(‘[View with PicLens]’,’nggallery’); ?>
</div>
<?php } ?><!– Thumbnails –>
<?php $i = 0; ?>
<?php foreach ( $images as $image ) : ?><div id=”ngg-image-<?php echo $image->pid ?>” class=”ngg-gallery-thumbnail-box” <?php echo $image->style ?> >
<div class=”ngg-gallery-thumbnail” >
ngg_custom_fields[“URL”]; ?>”
title=”<?php echo $image->description ?>”
<?php echo $image->thumbcode ?> >
<img title=”<?php echo $image->ngg_custom_fields[“Tagline”]; ?>”
alt=”<?php echo $image->alttext ?>” src=”<?php echo $image->
thumbnailURL ?>”
<?php echo $image->size ?> /><!– Pagination –>
<?php echo $pagination ?></div>
<?php endif; ?>
Forum: Themes and Templates
In reply to: Changing Themes / Working DraftsThanks, I’ll give it a try!
Okay, so I added a <hr> and tag after the final album before that glitch was happening, and it seems to have taken care of the problem.
(And, I had no idea that that green button was even there! So much easier than how I’ve been doing it, which is opening a separate tab in my browser and doing all my NGG editing in the dashboard!)
Thanks for your help ??
Not intentionally, but here is how that section of the code looks in text view:
Skill-Based?Classes</h2><p style=”text-align: center;”>[nggallery id=7]</p><p>Register below for any of our upcoming classes. ?Additionally, you may sign up for our?weekly class newsletter?
In the visual editor, it looks like this:
Skill-Based Classes
[nggallery id=7]
Register below for any of our upcoming classes. Additionally, you may sign up for our weekly class newsletter so you’ll be alerted as soon as new class descriptions and schedules go live.
That’s what it seemed like to me, too. I’m just inserting the galleries using shortcodes (i.e. [nggallery id=6]), and then the text follows after that. I’ve tried going into the source view in the WordPress editor and adding a closing tag BEFORE the text in question. This works temporarily, but once I save and refresh, it reverts back to what you see now.
Oh that’s so strange, I didn’t realize all the pages were white. I checked the theme customizations and you’re right, the background image I had chosen was deleted somehow. I re-uploaded that background, and now all the pages have the correct background again, EXCEPT for the Portfolio page (which is the problem I was talking about when I first posted).
Looks like the problem was that I had the shortcode in the text editor rather than the WYSIWYG. As soon as I moved it there, the background appeared on the Portfolio page as well. Not sure why that made a difference, but glad it’s fixed! ??
Thanks!
Forum: Fixing WordPress
In reply to: Getting rid of the "leave a reply" boxAha, got it! I should have been deleting that code from the page.php template. ??
Forum: Fixing WordPress
In reply to: Getting rid of the "leave a reply" boxHmm, I think we’re on the right track, but there is no “singular.php” in my theme, only “single.php.”
Assuming that’s the correct file, I searched for “comments_template” and the only line containing that string was:
<?php comments_template( ‘/comments.php’, true ); // Loads the comments.php template. ?>
I deleted this line and saved the file, but nothing has changed on my pages. Anything else I might try?
Hmm, so I’ve been playing around with that code, trying to make the border show up, but no dice. Rather than referencing the theme’s CSS file and editing that, could I just put the border style directly into the code you referenced earlier?:
<?php if(nggcf_get_field($image->pid, 'New Vendor') == 'yes') { $image->style .= ' bordered'; } ?>
If so, what would I put in there instead of just “bordered”? I’m not sure what syntax to use in this context. For simplicity sake, let’s just say a solid red 5px border, and I can tweak it from there.
thank you!