l r
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can i call a sticky to the top of this loopHi Sorry – I was not very clear.
Thanks for getting back to me.
1. Yes I want 5 posts from category=featured, some will be stickies, the stickies should be at the top.
2. All posts display either
full content or shortened content via the more tag
or if excerpt exists show a bespoke excerpt.I am hard coding the ‘read more of this entry >>’
It’s not ideal but I couldn’t get it to link to the full content consistently.
When the sticky displays – I have the excerpt or the content whichever exists.Forum: Fixing WordPress
In reply to: Using relative instead of absolute links for images?Forum: Plugins
In reply to: Amazon Widgets Shortcodes: Can’t un-install on 2.7Thanks for getting back to me.
So – I can just forget about the error for now as it is actually removed.The plug in is not quite what I was looking for.
Amazonsimpleamdin does exactly what I need with the template control.
Different functionality not better!
thanks again
eForum: Fixing WordPress
In reply to: Using relative instead of absolute links for images?It’s understood that..
relative link = /images/image name and
absolute = http://URL/images/image nameBut with wordpress why is there no ‘dynamic root url’ option.
In other cms systems (eg drupal and cmsmadesimple) you can choose to add relative or absolute links within the wysiwyg editor.
This difference is when you choose relative links.. a root url is set in config just once.
The base href was called to the front end via eg base=true or $base_url.The root url is set in one place only… and is easy to change.
If you choose relative settings then the page content editor never hardcodes the full url path into content pages.
So content looks like this in the editor pages /images/imagename.
However
When you view source on the front end – the root url – declared just once in the config is used as a base and is passed to each path. This is dynamic and it is not hardcoded in individual pages. It is called from one root setting in config.
So you have http://www.mydomain.com/images/imagename
or http://www.mydomain2.com /images/imagename
on front end source
and
/images/imagename.
in the page editor source.So when you want to change your root – you only change it once.
In the config file.
Other systems do deal with the root url change via scripting.Forum: Fixing WordPress
In reply to: Using relative instead of absolute links for images?Am i missing something really obvious – that is very different form other cms systems?
I have used relative urls successfully in other cms systems.. that’s with tagging and multiple locations.
When the site root changes you call a dynamic root url and everything still works.
EG http://www.mydomain.com/2008/10/
changes to http://www.mydomain2.com/2008/10/If i have 2008/10/ as my relative url in content..and the root is dynamic and called automatically as a base what can go wrong..
All other path parts are unchanged. Am i making any sense?Forum: Fixing WordPress
In reply to: Using relative instead of absolute links for images?Yes good thread.. and I feel I need to throw in my pennysworth.
I move from dev to live often eg from http://www.domain/foldername to http://www.domain.It would be good if relative/absolute was a user choice. It’s a personal preference.
Most designers and css coders should not have to worry about writing sql queries to fix image paths. Not everyone is an sql whizz and that is the pure joy and the advantage of wordpress.
Domain addresses do change. For development reasons and for branding redesign, company name changes etc. In an ideal world it shouldn’t but I have come across it many times. In fact it’s a daily occurance as a front end designer/builder.
I build entire websites in dev areas and upload to domain root. If I use relative url’s it is almost always a smooth transfer process where-as Absolute url’s break and need fixed.
Absolute url’s are not my preference (though I wholeheartedly agree with the above points about not changing url and not having two urls on one domain)
Absolute urls with wordpress presumes you can use sql to search and replace. A daunting task to those that are not familiar.
In saying all of this can anyone advice on getting relative image paths in media upload and relative text links in the editor for 2.7???
I am personally gutted I can’t seem to easily choose.(or can I?)
I am wary of using my preferred method if relative url’s are not equally supported in wordpress release though..Forum: Themes and Templates
In reply to: How to display ALL images in gallery with image.phpHi
This is a great fix but I want to add image.php to the thumbnails gallery default.
So the default gallery has a single pic large image view and a gallery of thumbnails.
Anyone know a quick fix.
Click on thumbnail and it changes the big image on the same page.
( i hope this makes sense)
Any pointers really appreciated.
Many thanksForum: Plugins
In reply to: Displaying NextGen with imagebrowser and thumbnailsHi did you ever find a quick solution for this?
I got both appearing with
[imagebrowser=1]
[gallery=1]or
[imagebrowser=1]
[album=1,extend]however second page/pagination brings up the large image only.
Can anyone help with this?