greasypigstudios
Forum Replies Created
-
FIgured it out, it was something regarding my theme. I had taken stuff off the footer that was keeping scripts open and unexecuted apparently.
My mistake!
When do you think you’ll have this new upgrade finished? I definitely need more customization options for thumbnail size, clicking directly into the page, removing project site link, etc. I bought the premium plugin yesterday and hoping to launch my new site in a few weeks!
Forum: Fixing WordPress
In reply to: Super weird bug: Site redirecting to specific single postWell, great. I deactivated/reactivated some plugins/widgets, and now the site functions again. Sadly I have no advice for others other than doing the same. If someone ever figures out exactly what the issue is it owuld be helpful to others.
This just started happening for me as well, and I have no idea what’s going on! Have you made any headway?
Forum: Fixing WordPress
In reply to: Super weird bug: Site redirecting to specific single postAnd now I fiddled around with it and instead of going to that blog post, going to the root url now shows the “redirecting in a way that will never be resolved” error.
What is going on here!?
Forum: Fixing WordPress
In reply to: New media uploaded called 0600005030QAr1.qxd:0600005030QAr1Hmm, weird, it seems to all be from the meta-tag of the jpeg, I think… the blogs online that have that same alt tag seem to be the same images I’m using (movie posters, mostly).
I dunno how to remove this meta tag.
Forum: Fixing WordPress
In reply to: Next/Previous link category showing multiple categoriesOkay, I just learned about the Smarter Navigation plugin, which is great, except it asks to replace
next_post_link
withnext_post_smart
except I’m already using PostMash filtered to reorder posts, and they also require anext_post_link
replacement function (in their casenext_post_menu
I believe).Any thoughts?
Forum: Fixing WordPress
In reply to: Different template for first page of category paginationI have a little but unadvanced knowledge of query_posts, but using it I’m a little confused as to how to tell it to show 10 posts on page 1 of the archives and 20 posts on each subsequent page, along with a different display format for the first page.
Forum: Fixing WordPress
In reply to: Get attachment thumbnail for use in CSS hyperlink backgroundGreat idea, ha, smart move.
Forum: Plugins
In reply to: Add javascript to all links in post/pageSo i just tested and with hyperlinks and instead of
linkname = $(this).val();
should be
linkname = $(this).text();
To take the text of the hyperlink.
Forum: Plugins
In reply to: Add javascript to all links in post/pagequick question on this:
First, I modified it to .mouseenter instead of .click
Secondly, setReadOut() needs to take strings enclosed in ‘ ‘ so it would have to return a function like setReadOut(‘link name’)
It seems to not be working for this?
Forum: Fixing WordPress
In reply to: Conditional Inside ConditionalOops, I fixed it, the error I was getting was due to a missing parenthesis.
Forum: Plugins
In reply to: Same loop, different formatting depending on category?Ha, figured it out. It’s not
is_category
it should be
in_category
Fantastic. Good to have worked this out loud, and hopefully will help others in future.
Forum: Plugins
In reply to: Same loop, different formatting depending on category?I’ve gotten as far as thinking it’ll be a conditional tag inside the loop, but I’m having a hard time getting it to determine whether a specific post is from one category or another:
<?php query_posts('&showposts=10'); global $more; // set $more to 0 in order to only get the first part of the post $more = 0; // the Loop while (have_posts()) : the_post(); ?> <?php if(is_category(12)) { ?> <li <?php post_class() ?>> <div class="title"> <h2 id="post-<?php the_ID(); ?>">BLAH<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <h3>Posted in: <span><?php the_category(', ') ?></span></h3> </div> <!-- .post --></li> <?php } else { ?> <div class="title"> <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <h3>Posted in: <span><?php the_category(', ') ?></span></h3> </div> <?php } ?>
Right now I’d want it so that in the loop, if the category is 12, then print the word “BLAH” ahead of the title (just as a test). Currently it’s not working. I have a feeling it’s because is_category checks to see if the entire PAGE is from a category, not just that specific post.
Any guidance is much appreciated.
Forum: Plugins
In reply to: Same loop, different formatting depending on category?Thanks for the help, but nothing I saw there referred me to what I should do if I wanted to show posts from differing categories all on the ONE SAME loop (like the main index), but the formatting would be different depending on what category the post is.