Bluetera
Forum Replies Created
-
Forum: Hacks
In reply to: change this code to random post?I get an “not found” error when I do that. Not sure if I did that right.
Forum: Hacks
In reply to: change this code to random post?Hmmm… so should the whole thing look like this then…
<?php // page id 224 will get category ID 7 posts if (is_page('224') ) { $cat1 = array(7); $cat2 = array(8); } else { $cat = ''; } $showposts = 1; // -1 shows all posts $do_not_show_stickies = 1; // 0 to show stickies $args=array( 'category__in' => array($cat1, $cat2), //your multiple categories 'showposts' => $showposts, 'caller_get_posts' => $do_not_show_stickies, 'orderby' => 'rand' ); $my_query = new WP_Query($args); ?>
Forum: Fixing WordPress
In reply to: WP editor not inserting paragraphs!Fixed it! Nevermind! Thanks!
Forum: Fixing WordPress
In reply to: stop link stripping in excerptsWoohoo! Nevermind! I fixed it!
Forum: Fixing WordPress
In reply to: tiny mce strips paragraph tagsBeen using WordPress many years, but something is different. I’m having a similar issue. When I hit RETURN (ENTER), it inserts a single break instead of a paragraph, but visual editor shows a blank line as if it wrote a new paragraph. If I hit it several times, it shows multiple new lines in the editor, but still only one single break on the live published post. So basicly, no matter what I do, the visual editor will NOT insert new paragraphs. It shouldn’t be an issue with the css because when I view the source, it shows breaks instead of paragraph tags. I do have the formatting set to “paragraph” in the visual editor too.
Any suggestions?
Forum: Fixing WordPress
In reply to: Where is the code for the individual widgets??I found it! It WAS a problem in the functions.php
Forum: Themes and Templates
In reply to: Where is this bracket coming from??nevermind. the code was messed up in functions.php
Forum: Themes and Templates
In reply to: Where is this bracket coming from??oh duh… sorry I am working on two blogs right now. I gave the wrong one. This is the one with the proble. Still can’t figure it out and I also noticed some of the sidebar box headers seem to be formatted different and I can’t figure out where to correct that. If you look at the source, you will see the difference. They seem to be coded different.
Forum: Fixing WordPress
In reply to: Where is the code for the individual widgets??Looks like the tags layout is reversed.
Forum: Fixing WordPress
In reply to: Where is the code for the individual widgets??If you look at the source code, you can see the difference between those blocks. So somehow, they are being written differently. I’m trying to figure out where to edit the code that is putting that out.
<div class="sideblock">> <h3>Recent Posts</h3>
here is the different one…
<h3>Search Posts</h3> <div class="sideblock">>
Forum: Fixing WordPress
In reply to: Where is the code for the individual widgets??Well somehow, some of my widgets are being shown differently then others. Take a look at this…
https://www.waynecoakleymarketing.com/
The first three boxes are the same, but the second two are different.
There is a random bracket showing up in them and I don’t know where that’s coming from either.
Forum: Themes and Templates
In reply to: Does default theme display comments on home page?Thanks. I will see if I can get that to work.
Forum: Themes and Templates
In reply to: Where is this bracket coming from??Oh… well I posted the link. Are we not allowed to post them here? hmmm… its newworld.ws/blog