Alex Cragg
Forum Replies Created
-
Forum: Plugins
In reply to: Plugin not deleting old MySQL rowsThe issue was with variable naming, had just referenced the wrong one somewhere along the line.
Forum: Themes and Templates
In reply to: Crossfading header imagesSorry if you took my words as biting, its hard to portray tone in text!
Glad you got it sorted, and hope you enjoy using WordPress more in the future! Having only been using it for a few weeks and still be making changes like you wanted is pretty cool!
Alex
Forum: Themes and Templates
In reply to: Crossfading header imagesIt’s designed to be used on a front/home page that then acts as a showcase of posts, but essentially can be placed anywhere on your site by editing the right file.
When you said implement this in WordPress, I assumed you meant using some of the features of WordPress such as dynamic posts, custom fields or the like, hence why I gave the link to my tutorial.
Just getting a rotating set of images isn’t WordPress based unless you use some of WordPress’ stuff, it’s just a script rotating images…like the script that I linked to to use in my tutorial.
What are the images you are wanting to rotate? Are they pulled from a changing set of posts? Or are they just in a folder on the server, static so to speak?
Alex
Forum: Your WordPress
In reply to: Feedback on a work in progressOK, thanks for the feedback, I’ll have another look at the whole thickness-of-the-lines issue. As regards the spacing of +ve, -ve, I used the 960.gs grid system preportions, so I’m not sure about that one.
I’ll keep working on it then and see what other input I get, thanks guys.
Forum: Themes and Templates
In reply to: Crossfading header imagesCheck out my tutorial, it users a different script, but it works well. See the comments for the issues it has, but in general it runs smoothly.
http://epicalex.com/creating-dynamic-crossfading-recent-posts/
Leave a comment if you need any further help
Forum: Developing with WordPress
In reply to: Sticky/Featured Post/Avoiding DuplicatesCheck this post out:
http://weblogtoolscollection.com/archives/2008/05/17/how-to-avoid-duplicate-posts/You’ll see that your point about my method was raised there too!
Hope this works better for you
A
Forum: Plugins
In reply to: New Plugin: Epic Theme ViewerOK, so it turns out to be a bit broken. It only works when logged in. Digging through all the references to see where the problem is.
Forum: Themes and Templates
In reply to: New Custom Sidebar in TemplateYou can just use the whole of another sidebar.php if it has the functions that you want, but bear in mind that your current theme’s css might not cover all of the things in the new sidebar file.
What code is it that you had problems with, maybe we could help?
Forum: Fixing WordPress
In reply to: Problems with actions and filtersOK, fair point, the full code is in the pastebin, and I’ve highlighted the lines where the code is giving me problems.
If its any help, I used the devlounge plugin writing series to write the plugin.
Thanks
Forum: Fixing WordPress
In reply to: Problems with actions and filtersIf only it were that simple. That’s what I did initially, but it wasn’t working. I think it has something to do with the variable being used in a class structure, and when it is passed through wp_head, it no longer works.
If I use the function on the plugin’s admin page, it works fine, but that is because it is still in the same class there…I think!
I read another post in the forum that had the same problem, and the guy posted his solution, but I don’t really understand it, and can’t get it to work.
global $icono_plugin; $settings = $icono_plugin->getAdminOptions();Any ideas?
Thanks againForum: Plugins
In reply to: New Plugin: Newspaper Style PostsGood point!
The homepage of my test site is http://mysoutham.com/ , where you will see that content is displayed normally. Clicking through to a post will show how the plugin works.
At the moment, it is as is, but I’m planning on using a few options, such as no. of columns, distance between them.
Thanks for the feedback.
Forum: Fixing WordPress
In reply to: Problems with actions and filtersOK, I’ve done more digging, and it appear that my problem is that I have a variable defined in a local scope in a function and class, that I need available in a global scope, as it is in a function being used with wp_head.
So, how do I make this variable global when using classes?
Thanks
Forum: Themes and Templates
In reply to: how to get all shift to the left, to match my siteIs this site actually built with WordPress? I looked at the photography of dreams site listed in your profile as you didn’t include one here.
If it is then I’ll help, and I’m sorry!
Also, you should really take a look at using stylesheets instead of inline css.
Forum: Fixing WordPress
In reply to: Links in posts not showing as linksHave you fixed this already? They are clickable links for me. I’m on the template downloads category page.
Forum: Fixing WordPress
In reply to: Multiple loops with pagination on single post pagethe pages all link back to the single post page
I’m not really sure what you mean…?
Do you mean that all the links on that page just link back to where you are? Thats because you’ve used single.php to do this in…and that is used to display a single post usually. If you haven’t got the code in single.php to display a single post, but the loop, then the loop is going to display, not the post…
Do you have a link for us to look at?