brandonchance
Forum Replies Created
-
Sorry Phil, but where does “taxonomy-download_tag.php” output?
site.com/?/
Oh awesome, thank you so much Phil!! I’ll mark this as resolved as soon as I can test it out ??
Wait, are “download tags” different from regular tags? Will I need to create a download-tag.php file?
And all I currently see on my tag page is 1 “lorum ipsum” post that has the same tag as the download
Forum: Fixing WordPress
In reply to: Children Of Category: Foreach Loop Not Working?Thanks for asking Michael; the solution I posted worked for me, but I appreciate the additional information! I’m hoping it will give me better understanding and help others out in the future!!
Forum: Fixing WordPress
In reply to: Children Of Category: Foreach Loop Not Working?Also asked the question on WordPress: Stack Exchange. Here was the solution:
Do the categories all have posts, change line 2 to:
$categories = wp_list_categories('hide_empty=0&title_li=0&child_of='.$categoryslug->term_id');
This sets it to display all categories even if emptyIf that doesn’t work then you need to echo each part and find the cause of the “error” so echo each element e.g.
echo $categoryslug;
if that works then change toecho $categoryslug->term_id;
If that works then print the array of categories e.g.print_r($categories);
Echoing each element individually will lead you to the culprit and then you can find the root causeForum: Fixing WordPress
In reply to: get_tags Includes All Post Tags In ArrayNevermind, I switched out
the_tags
forget_the_tags
and the issue resolved! Thanks for looking!Final code for future reference:
<?php $tags = get_the_tags(); $posttags = '<div class="post_tags">'; foreach ( $tags as $tag ) { $tag_link = get_tag_link( $tag->term_id ); $posttags .= "<a href='{$tag_link}' title='{$tag->name}' class='{$tag->slug}'>"; $posttags .= "{$tag->name}</a>"; } $posttags .= '</div>'; echo $posttags; ?>
Forum: Fixing WordPress
In reply to: get_tags Includes All Post Tags In ArrayI just switched out
get_tags
forthe_tags
and that fixed the issue, but now it says “Tags:” before it, and it’s not wrapped in a p/span tag that I could hide.A solution for this would be fine as well as it would give the same result
Forum: Plugins
In reply to: Email For Download Link Plugin – MailChimp Integration?Awesome, thanks so much! I think my client would be down for that
Forum: Plugins
In reply to: Email For Download Link Plugin – MailChimp Integration?That’s crazy, thanks for the response Pippin! And nice, just to make sure I understand, I just wouldn’t get updates after a year but the plugin would still work? (ie. The plugin isn’t going to stop after the subscription ends)
Thanks again, looking forward to your response!
Forum: Plugins
In reply to: Email For Download Link Plugin – MailChimp Integration?Aww, is there a non-subscription version of these extensions :/ my client won’t go for that ??
Forum: Plugins
In reply to: Email For Download Link Plugin – MailChimp Integration?Awesome, about to try this out!!
And aren’t you the guy that created the plugin I mentioned in my original post! Crazy ??
Forum: Fixing WordPress
In reply to: How To Make Blogs In Child Category Show Up In Parent CategoryThanks for the reply Michael!
Before I potentially waste some of your time though, let me be more thorough and state that I didn’t add the blogs to the ALL category (I didn’t explain that initially). My intent is for “ALL” to automatically include anything assigned to it’s child categories without actually having to add them to the “ALL” category.
And to answer your question, I’m using the Gantry 5 Hydrogen Theme.
I went ahead and bought the full version, and it appears you have already added this feature. I don’t recall where I saw it was a future-feature or I’d point you to it so you could update. Either way, thanks!
Forum: Plugins
In reply to: [wpautop control] How To Disable "wpautop control" for 1 Class or ShortcodeI found this in the PHP file:
$post_wpautop_value = get_post_meta($post->ID, ‘wpautop’, true);
could I add another line beneath that to make this happen? Something like:
$post_nowpautop_value = get_post_meta($post->ID, ‘nowpautop’, false);
Forum: Plugins
In reply to: [Simple Download Monitor] How To Add Upload Date To Frontend?Thanks again @mbrsolution, I appreciate you pointing me to the documentation as it did help some! Unfortunately, I believe the answer is a mix between PHP and jQuery, which the link doesn’t cover, but I could definitely be wrong.
I’ve found the areas that I believe to be key in making this happen, but I haven’t been successful yet. Still looking for more insight on the subject!