Cbas23
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Elegant Themes] Edit the Category pageFound it: entry.php
Forum: Themes and Templates
In reply to: [Elegant Themes] Edit the Category pageYes I am using a child theme
Forum: Plugins
In reply to: [Mixcloud Shortcode] [Plugin: Mixcloud Shortcode] Browser supportI haven’t used the plugin for a while, but if you get the embed code directly from mixcloud, it works on everything except for some mobile devices
Forum: Themes and Templates
In reply to: Add style to shortcode outputThanks! Worked perfectly
Forum: Themes and Templates
In reply to: CSS formatting issueWorked! Thanks
Forum: Fixing WordPress
In reply to: Facebook Like button on Blog, but to like Facebook pageIt should be home.php, but it may be different on your site – try to find the readme or info file for your theme. This may help too. Otherwise, just look through the php code until you find a file that matches your homepage layout.
Forum: Fixing WordPress
In reply to: Page navigation not showing upHuh, I didn’t know that the order mattered. That fixed it, looking good now. Thanks for all the help
Forum: Fixing WordPress
In reply to: Page navigation not showing upGreat, thanks. That fixed everything but the date’s font. It is being overridden by ‘#content li’. Shouldn’t ‘#content li.list-time’ be overriding that?
Forum: Fixing WordPress
In reply to: Page navigation not showing upYes that made it work, thanks. I’m having some trouble integrating my old code into it though. Here’s what I have now:
<div id="content"> <?php $paged = (intval(get_query_var('paged'))) ? get_query_var('paged') : 1; query_posts('posts_per_page=5' . "&paged=$paged"); while (have_posts()) : the_post(); echo '<li class="list-time">'; the_category('•'); the_time(' d'); the_time(' M'); echo '</li>'; echo '<li class="list-title">'; echo '<a href="<?php the_permalink() ?>" rel="bookmark">'; the_title(); echo '</a>'; echo '</li>'; echo '<li class="latest">'; the_content(); echo '</li>'; echo '<div class="clear2">'; echo '</div>'; endwhile; ?> </div><!-- #content -->
Everything shows up, but the li classes aren’t being used (text is too small) and the hyperlink on the post title just goes to a 404 page. Is there a way to rewrite this so it works, or a way to just store all the posts in an array so that I can use my original code?
Forum: Fixing WordPress
In reply to: Page navigation not showing upThanks for the reply. I replaced that code with a very simple function that uses query_posts():
<div id="content"> <?php query_posts('posts_per_page=5'); while (have_posts()) : the_post(); echo '<li>'; the_title(); echo '</li>'; endwhile; ?> <div id="nav-above" class="navigation"> <div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">«</span> Older posts', 'sandbox')) ?></div> <div class="nav-next"><?php previous_posts_link(__('<span class="meta-nav">»</span> Newer posts', 'sandbox')) ?></div> </div> </div><!-- #content -->
The navigation links now show up, but they don’t work. The same 5 posts are always displayed. Whats wrong with it?
Forum: Fixing WordPress
In reply to: Facebook Like button on Blog, but to like Facebook pageOne question though: what should I do to change the color of the iframes text?
Forum: Fixing WordPress
In reply to: Facebook Like button on Blog, but to like Facebook pageFigured it out.. Use the iFrame code from that facebook dev link. I put it straight into my homepage php code and it worked nicely. Check it out here: https://dazestate.com/
Forum: Fixing WordPress
In reply to: Facebook Like button on Blog, but to like Facebook pageI’d like to know how to do this as well. Haven’t found anything yet
Forum: Hacks
In reply to: Change page alignment from vertical to horizontal?Nvm, I fixed it. The problem was that the music blog page was using the .page css properties. I changed that with this code:
<div id="content: class="home">
Now it inherits the .home css properties.Forum: Hacks
In reply to: Change menu item from post to pageSolved it with this code:
<ul class="link-item-menu"> <li><h2 class="link-item-menu"><a href="<?php echo get_page_link(116); ?>">Tutorials</a></h2></li> </ul>