Doodlebug
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Adding RSS IconMaybe put it within a span and use absolute positioning to set it out there. The div that contains it must be relatively positioned though I believe.
Forum: Themes and Templates
In reply to: Header image based on Page ID?From here: https://css-tricks.com/new-screencast-current-nav-php-body-id/
</head> <?php $page = $_SERVER['REQUEST_URI']; $page = str_replace("/","",$page); $page = str_replace(".php","",$page); $page = str_replace("?s=","",$page); $page = $page ? $page : 'default' ?> <body id="<?php echo $page ?>">
But adapt to style your header so:
body#about #header { background:red; }
Forum: Plugins
In reply to: [Plugin: Register Plus] Custom Logo Not AppearingHow did you solve this?
Forum: Fixing WordPress
In reply to: RSS Doesn’t Work – XML Parsing ErrorHey, thanks for the suggestion.
I did have trailing slash, and updated my permalinks accordingly – but no luck. ??
Forum: Fixing WordPress
In reply to: Adding alphabetical indexing to long author list pageBTW, this has moved here: https://www.abletonartists.com/artists/
Even just a page listing, much like how the front page of WP will only show 10 posts (or whatever) and you have Next page, Previous page links. Although alphabetical would be better.
Forum: Fixing WordPress
In reply to: RSS Doesn’t Work – XML Parsing ErrorTrust me i’ve gone through EVERY php file (see edit above though).
Weird thing was though – every file had an extra line after the closing ?> – why would this be? I didn’t open or edit any of these files and uploaded them as is from the default download.
Forum: Fixing WordPress
In reply to: RSS Doesn’t Work – XML Parsing ErrorI’m having the same trouble:
Checked every php file I can find for the extra spaces and no luck.Tried removing all plugins and switching back to default theme, but no luck.
EDIT: I suspect this might have something to do with Permalinks not being the default. The RSS link is currently going to https://www.abletonartists.com/feed/ because Permalinks are set to ‘Day And Name’ (second option down in WP). My htaccess is writable though and I even updated it the manual way. The permalinks on posts etc. were fine – how can I kickstart the feed?
Forum: Themes and Templates
In reply to: Change comment style for Authors?I think the main reason why it doesn’t validate is to do with either the 1 Pixel Out Audio Player plugin or the SoundCloud player (which uses <embed>) – both Flash entities.
I’ve got it up on its own site now btw: https://www.abletonartists.com/
Forum: Themes and Templates
In reply to: Change comment style for Authors?Thanks guys but i’m getting some weird results, because i’m getting confused with adding this in with the alternative comment stuff that’s already there.
Here’s what I have (lines 12, 24, 47 and 48 ): https://www.pastebin.ca/1205824
What happens is a random comment poster (Dave, rather than fatrabbit – aka admin who happens to be the author of this post) gets the class added to the new div as seen in the source code here: https://www.werebunny.com/aa/2008/09/17/1-bit-audio-player-test-for-mp3s/
I guess I don’t really want an extra div just for this as it’s harder to style in conjunction with alternative post styling. How can I integrate this into the alt comment styling on the
< li >< /li > ?Forum: Themes and Templates
In reply to: Change comment style for Authors?Would this work on a multi-author blog? To highlight comments from the author in his/her own post?
Can this be used to generate alphabetical indexes for a list of authors?
Forum: Plugins
In reply to: How to use jquery in wordpress?I’ve since done it direct like this and it works…
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.2.6.min.js" type="text/javascript"></script>
I know this isn’t the right way to do it – how can I use the in-built jQuery properly? All the documentation/writings concentrate on the perspective of plugin writers, not theme authors!
Forum: Plugins
In reply to: How to use jquery in wordpress?Can’t get jQuery localScroll to work (so there is an animation between local anchor links on the same page):
<?php wp_enqueue_script( 'scrollTo', 'wp-content/themes/abletonartists/js/jquery.scrollTo-min.js', array( 'jquery' ) ); ?> <?php wp_enqueue_script( 'localScroll', 'wp-content/themes/abletonartists/js/jquery.localscroll-min.js', array( 'jquery' ) ); ?> <script type="text/javascript"> $(document).ready(function() { $.localScroll({ duration:1600 }); }); </script>
Forum: Fixing WordPress
In reply to: List all registered users (authors) on a page with their info…If anyone’s interested I figured this out from here: https://justintadlock.com/archives/2008/06/09/doing-more-with-gravatars-authors-template-page
Forum: Fixing WordPress
In reply to: Localhost – can’t log in to adminI tried creating a new database and installing WP again. I was then able to get to the dashboard. When I made any changes however (posts, edit pages etc.) it would work but would just go to a blank page when you click ‘Save’ or ‘Publish’. The original problem has appeared again now though – after shutting down MAMP for a break and then starting it up again.