alittle116
Forum Replies Created
-
Forum: Plugins
In reply to: [Camera slideshow] Slideshows working great EXCEPT on homepage. Why??The other strange thing happening is that 2 items in my menu are selected on the homepage. Both of these problems started happening at the same time.
Forum: Plugins
In reply to: How to have start page default to a single category?Thanks but I was able to solve it with this plugin
https://www.ads-software.com/extend/plugins/front-page-category/
Forum: Plugins
In reply to: How to have start page default to a single category?Ok i solved this (sort of) by including this code on the index.php file
<?php if (is_front_page()) { query_posts('cat=1'); } ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>
However this is causing problems with the Infinite Scroll plugin. Now when I reach the bottom of the page, it reloads the same articles. It keeps looping and does not load the next page of articles.
*The same thing happens when I disable this plugin and use normal pagination. The “previous articles” link returns the same set of articles, not the next set.
Is there another way of achieving this that would not mess up the pagination?
Thanks!!
Forum: Plugins
In reply to: Live sort/filter category buttonsi found this tutorial which helped me figure it out. wasn’t so hard!
https://net.tutsplus.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/
Forum: Plugins
In reply to: twitter style “more” buttonthis is the closest thing i found …
https://www.infinite-scroll.com/
maybe it’s possible to add a button instead of automatically loading
Forum: Themes and Templates
In reply to: How do i build ‘recent posts’ into the theme’s sidebar?i got it, looks something like this:
<?php wp_get_archives('type=postbypost&limit=15'); ?>
Forum: Fixing WordPress
In reply to: Customizing “Read More” link on a post-by-post basisThanks, Michael. I tried following the tutorial you linked but am having difficulty.
This is the code in my template currently:
<?php the_content('<span class="more-link">'.__('Read More »', 'sandbox').'</span>'); ?>
And I have created a custom field with the key “Read More”.
Can you advise me?
Thanks!
Forum: Themes and Templates
In reply to: Changing arrows in default themei am also trying to solve this
Forum: Fixing WordPress
In reply to: Adding headlines to non wordpress pagethank you. i understand now. since you are being so helpful, let me ask you one more question. how do i limit this list of posts to only 5 without making the changes in my admin panel?
all my attempts at finding an answer have led me to the ‘Custom Query String’ Plugin.
However this does not seem to be the right solution since my list of articles is not a query by date, author, category, etc…
this is the code that i am using at the momemnt
<?php while (have_posts()) : the_post(); ?> <div class="post"> <div class="entry"> <p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></p> <?php the_excerpt() ?> </div> </div> <?php endwhile; ?>
Forum: Fixing WordPress
In reply to: Adding headlines to non wordpress pagei am sorry this is still not clear to me. on my non wp pages i am already including a header.php file.
the wp header contains all sorts of stuff not relevant to the rest of my site and it does not seem right to include the whole thing.
i would like to find out what code in the wp header file (i am using the kubrick theme) is necessary to allow wp functions on non wp pages. but i cant figure this out.
Forum: Fixing WordPress
In reply to: Adding headlines to non wordpress pageinstead of including the entire header file, can you tell me what code specifically needs to be on the page?