sarah.osborne
Forum Replies Created
-
Forum: Plugins
In reply to: jQuery UI tabs and UnPointZero SliderAdditional info:
these are the links to the js/css for the tabs
<link type="text/css" href="/wp-content/uploads/css/custom-theme/jquery-ui-1.8.16.custom.css" rel="Stylesheet" /> <script type="text/javascript" src="/wp-content/uploads/js/jquery-1.6.2.min.js"></script> <script type="text/javascript" src="/wp-content/uploads/js/jquery-ui-1.8.16.custom.min.js"></script>
when this line is taken out, the slider works, but the tabs dont
<script type="text/javascript" src="/wp-content/uploads/js/jquery-1.6.2.min.js"></script>
these are the names of the js files for the slider
unpointzero-slider/libs/cycle.js
unpointzero-slider/libs/slider-mouseover.js
unpointzero-slider/libs/cycle-nav.js
unpointzero-slider/libs/slidercfg.js
unpointzero-slider/libs/jquery.cycle.all.min.jsForum: Fixing WordPress
In reply to: jQuery UI tabsaaah, ok i know why my code didnt show because it was more then ten lines! haha I will break it up. try 3-
<script> $(function() { $( "#tabs" ).tabs(); }); </script>
thats the script to precede the tabs.
<div class="homeposts"> <div id="tabs"> <ul> <li><a href="#tabs-1">News</a></li> <li><a href="#tabs-2">Our Quality</a></li> </ul>
the tabs
<div id="tabs-1"> <?php query_posts('cat=13&posts_per_page=2'); while (have_posts()) : the_post(); ?> <h1>Posted on <?php the_time('F jS, Y') ?></h1> <h2><?php the_title(); ?></h2> <div class="entry-content"><?php the_excerpt(); ?></div> <hr /> <?php endwhile; ?> </div>
tab one with my first query
`<div id=”tabs-2″>
<?php query_posts(‘cat=12&posts_per_page=3’);
while (have_posts()) : the_post(); ?>
<h1>Posted on <?php the_time(‘F jS, Y’) ?></h1>
<h2><?php the_title(); ?></h2>
<div class=”entry-content”> <?php the_excerpt(); ?> </div>
<hr />
<?php endwhile; ?> </div> </div> </div>`
last tab, 2nd query, closing divsForum: Fixing WordPress
In reply to: jQuery UI tabs<script> $(function() { $( "#tabs" ).tabs(); }); </script> <div class="homeposts"> <div id="tabs"> <ul> <li><a href="#tabs-1">News</a></li> <li><a href="#tabs-2">Our Quality</a></li> </ul> <div id="tabs-1"> <?php query_posts('cat=13&posts_per_page=2'); while (have_posts()) : the_post(); ?> <h1>Posted on <?php the_time('F jS, Y') ?></h1> <h2><?php the_title(); ?></h2> <div class="entry-content"> <?php the_excerpt(); ?> </div> <hr /> <?php endwhile; ?> </div> <div id="tabs-2"> <?php query_posts('cat=12&posts_per_page=3'); while (have_posts()) : the_post(); ?> <h1>Posted on <?php the_time('F jS, Y') ?></h1> <h2><?php the_title(); ?></h2> <div class="entry-content"> <?php the_excerpt(); ?> </div> <hr /> <?php endwhile; ?> </div> </div> </div>
dont know why my code didnt show, but here it is again. you can see where I have my queries, just delete that and put in your content. I didnt do the de-register and it was just fine, but then I loaded an image slider and the image slider isnt working, do you think that is why?
Forum: Fixing WordPress
In reply to: jQuery UI tabsI did figure it out! I added to the head:
<link type="text/css" href="/wp-content/uploads/css/custom-theme/jquery-ui-1.8.16.custom.css" rel="Stylesheet" /> <script type="text/javascript" src="/wp-content/uploads/js/jquery-1.6.2.min.js"></script> <script type="text/javascript" src="/wp-content/uploads/js/jquery-ui-1.8.16.custom.min.js"></script>
replace the source on each to where you upload the .js and .css files
and then where ever you put your tabs
[Code moderated as per the Forum Rules. Please use the pastebin]
With the help of a different plugin (exec-php) I was able to put seperate queries in it and put it in my widget text area
https://texasspineandjoint.724impact.com/ (the site is still in development but you can see on the left side where I used tabs.)
Forum: Fixing WordPress
In reply to: Old Site Content to New SiteThanks, worked perfectly for the posts. We decided not to worry about the users, those will be set up later if need be.
Forum: Hacks
In reply to: Post specific categories to specific pages.ok so i replaced the title line with
<?php thematic_postheader(); ?>
and that gave me By ADMIN | Published: DECEMBER 6, 2011 | Edit
if anyone has a way to make it so that By ADMIN isnt there it would be helpful.Forum: Hacks
In reply to: Post specific categories to specific pages.<div class="entry-meta"> <?php the_date(); ?> </div>
this adds the date to the first post, but not all three?Forum: Hacks
In reply to: Post specific categories to specific pages.this is what i currently have
<?php query_posts('cat=3&posts_per_page=3'); while (have_posts()) : the_post(); ?> <h2 class="entry-title"><?php the_title(); ?></h2> <div class="entry-content"> <?php the_excerpt(); ?> </div> <?php endwhile; ?>
this is doing exactly what i need buuuuut… no entry-meta ??
anyone have a line of code i can add to get the date posted?
Forum: Themes and Templates
In reply to: add title, video, and THEN postscan someone supply me with the proper code for the loop here? everything i’ve tried doesnt display the posts!