robrat
Forum Replies Created
-
Forum: Plugins
In reply to: [Live Blogging] Auto-updating not occuringA bit more on this. Even after your update budybones bones, mine wasn’t auto updating, or so I thought.
The CSS of new posts coming in wasn’t changing from “display: none; position: absolute; opacity: 0” meaning it simply wasn’t showing up.
It’s supposed to animate in the nice new post, but it just wasn’t changing so I changed your JS make the style be ‘block’ and on line 69 I changed it to: jQuery(div_id).fadeTo(0, 1,
Forum: Fixing WordPress
In reply to: WEBSITE CRASHEDShouldn’t be a problem again really. That should have you sorted for a long long time. Mark topic resolved please. ??
Forum: Fixing WordPress
In reply to: WEBSITE CRASHEDSeriously just google the following:
memory limit exceeded wordpressand you’ll get all sorts of articles concerning this exact problem. It’s well documented.
Forum: Fixing WordPress
In reply to: WEBSITE CRASHEDRight. Google is your friend:
https://www.sensehow.com/how-to-solve-memory-limit-exceeded-error-in-wordpress/Forum: Fixing WordPress
In reply to: WEBSITE CRASHEDWell, you’ll need to provide some info. What changed since it was last working?
Step One: Upload your backup of the theme files. This isn’t your database, so if one or more template files had been edited causing the problem, all your content should magically re-appear.
Step two: Turn off plugins, and re-activate them one by one to see if any of those are the culprit.
Step three: Corrupt database would be a suspect. I’ve not got much experience with mysql so you’ll have to start Googling.
Forum: Themes and Templates
In reply to: Index page assigning self to category of latest postCan anyone think of a reason why an index.php page might have a category automatically assigned to it? I’ve put code for it right at the top of the header now, so any page on the site you’ll see it’s assigning a category related to what posts are shown within it.
Forum: Themes and Templates
In reply to: Index page assigning self to category of latest postAn example of somewhere it’s happening is at https://www.betterretailing.com/page/5/
If you search the source for “hidden” you’ll see third result is category IS see my shop. Why is it? An index surely can’t be in a category…
Forum: Themes and Templates
In reply to: Change link color of just blog title and blog body linksAs esmi said as well. That site’s way off in several ways…
Forum: Themes and Templates
In reply to: Change link color of just blog title and blog body linksYou need to splice things up into div’s for the header, nav links, main content etc.
At the moment all links are being coloured by the first few lines of your style If you had your navigation within a div tag you could then make style of
#navigation a { color: #ff6600; }
I’d re-write your navigation as the following, enclosing the whole thing in a new navigation header, then you only have to add the css above, and switch the colours around as desired:
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Themes and Templates
In reply to: Sidebar list posts when clicked show selected one onlyThat’s because the loop is querying what’s selected. ie. in a category page the loop displays all posts within that category, an author page it’ll show all posts by that author, and homepage it’ll display posts.
You need to use a function such as get_posts:
https://codex.www.ads-software.com/Template_Tags/get_postsOr perhaps more specifically:
https://codex.www.ads-software.com/Function_Reference/wp_get_recent_postsHowever, this will mean your loop won’t work in quite the same way. You may want to create an if statement such as
<?php if (is_archive()); { while (have_posts()) : the_post(); <li><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>; } else { wp_get_recent_posts( $args ); } ?>
(Wrote that very quickly, so probs doesn’t work, but it gives you an idea)
You mean how do you have the header links be in a sidebar?
I don’t really get what you’re trying to do, but I suspect whatever it is you need to use the CSS element “float: left”Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] Don't understand data sortAh, yes that’s completely cracked it. 3 of the lines of data had the words ‘New entry’ so it was interpreting as a string not number. I think I was approaching the whole thing at a far too techy level, so did (as I suspected) miss the obvious.
Really thanks for that.
Rob
Forum: Fixing WordPress
In reply to: Plug-ins Page Giving Me A ErrorAh, I saw something about this just yesterday. There’s a full guide to fix this here
Forum: Fixing WordPress
In reply to: Archive with posts from one categoryYou need to do a query_posts in the loop. I use something like it on my homepage that looks like this:
<?php $wp_query = $tmp_query; query_posts($query_string . '&cat=-26,-27'); if (have_posts()) : $odd = false; while (have_posts()) : the_post(); $odd = !$odd; ?>
Note the third line where it says &cat=-26,-27
This excludes those two categories from the display. You probably want something more likequery_posts('cat=4');
If you’re not sure what the category number is, go to categories, click on the category and look in the browser bar where it’ll say category&post_type=post&tag_ID=6 whereby the number is the category number.
Take a look at the codex for more
Forum: Fixing WordPress
In reply to: register plus subscribe button no longer working properlyTalk to the plugin developer.