defade
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Query Problemi’m no expert, and it sounds like you got it sorted…
from your reply i’d say did you change ‘order’ to ‘orderby’
it actually looks like you need BOTH commands:
order – chooses the direction of the order
orderby – chooses what they are sorted byso you need:
'orderby' => 'title', 'order' => 'DESC'
Forum: Fixing WordPress
In reply to: How To Add a Facebook Like ButtonInsert the following code where-ever you want the like button
I’d recommend somewhere within the ‘loop’ on your single.php template
<iframe src="https://www.facebook.com/plugins/like.php?href=<?php the_permalink() ?>&layout=standard&show_faces=false&width=450&action=like&font=arial&colorscheme=light&height=25" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:40px;" allowtransparency="true"></iframe>
NOTE: the ifame code is the only code that works on all browsers
Forum: Fixing WordPress
In reply to: Query Problemi think this may be what you are looking for:
https://codex.www.ads-software.com/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
You sir… are a legend
It works perfectly – Thank you very much
Forum: Themes and Templates
In reply to: Custom Post Type and Taxonomy PermalinksYou need to refresh you permalinks…
Simply go to your “Permalinks” page under “Settings” in your admin area – Click save just to be on the safe side, and it will rebuild your permalinks
Then job done – refresh the page you were having 404 problems with
Forum: Alpha/Beta/RC
In reply to: Splitting out old ‘tags’ into new custom taxonomiesI imagine this would be relatively simple for someone who knows what they are doing….
Anyone up for the challenge? ??
Forum: Alpha/Beta/RC
In reply to: Splitting out old ‘tags’ into new custom taxonomiesThat’s basically what i’m afraid of…
There’s surely got to be a better way.
Forum: Alpha/Beta/RC
In reply to: Splitting out old ‘tags’ into new custom taxonomiesI’ve been thinking about this some more, to try and think how i can explain this clearer and why i want to do what i want to do.
There are two types of custom taxonomies
Hierarchical – which are the equivalent of traditional ‘categories’
Non-hierarchical – which are the equivalent of traditional ‘tags’I want to implement 3 new Non-hierarchical custom taxonomies in our website called ‘drivers’, ‘stadium’, ‘championship’ – thus creating 3 new custom tag clouds
The problem then arrives of “How do i split out the tags that already exist in my database, from the old traditional tag cloud into my 3 new custom tag clouds?”
If the tags already exist in the database, then it would seem silly to go through the long process of deleting them all, then going through the 400+ posts and re-creating all the tags inside the new ‘custom tag’ taxonomies… when theoretically it’s just a case of changing the relationship of the current tags from the old traditional tag taxonomy into the new custom taxonomies
hmmm… is that any clearer
This is why i feel there should be an option in the “edit tags” section of the wp-admin, to use the ‘Bulk Actions’ drop down to move selected tags from one taxonomy to another
Surely once wp3.0 finally arrives, and more people start to experiment with custom taxonomies, and see the benefit they bring, i will not be alone in wanting to ‘upgrade’ my current tag cloud into smaller groups of specific topics… there will be lots of people wanting to do this as simply and cleanly as possible
Forum: Alpha/Beta/RC
In reply to: Splitting out old ‘tags’ into new custom taxonomiesOoh I got excited for a moment there, but I think I’ve confused you
It’s difficult to explain because of the use of the word ‘categories’
In it’s most basic form, what I want to do is split my traditional ‘tag cloud’ into 3 new custom tag clouds
I’m sure there must be a simple way to do this, I just don’t think the functionality is currently built into WordPress core… I imagine it will require someone (much smarter than me) to write some-sort of plugin
At the moment the only solution i can see, is to delete all my current tags, and then go through all the 400+ posts and re-tag them all… which would obviously take hours and hours… something I’d like to avoid if possible
Forum: Alpha/Beta/RC
In reply to: Splitting out old ‘tags’ into new custom taxonomiesHmmmm…
The lack of responses would indicate, either…
1) there is a very simple way to do this that i’m not aware of… or..
2) nobody has yet come across this same problem… or..
3) nobody understood what it was i was askingAny help or thoughts would be appreciated folks
??
yep all looks good to me
Glad to be of help ??
Forum: Plugins
In reply to: [Plugin: Number My Post Pages] Something has gone wrongYes mate… it’s absolutely working ??
Well done mate, and many thanks… I will be using this plugin from now on
One extra nice feature would be to an option for custom style sheets (at the moment i am having to copy over my own stylesheet after each upgrade)
But over-all… fantastic plugin mate
And thanks again for your time – ADE
Forum: Plugins
In reply to: [Plugin: Number My Post Pages] Something has gone wrongHi again…
I definitely do not have any styles using that ID
Some further info i have for you…
Of all my PUBLISHED multipage Posts, none have more than 2 pages.. for these posts the plugin works perfectly
I do however have one post currently in DRAFT that is at the moment 3 pages long, and a good chance that it may end up being more by the time it is published (in late November or early December time)… When i view this post in ‘preview’ mode the navigation does not work, it does what i explained in the above reply
Now whether it is the fact the post is over 2 pages long, or because i’m viewing it in preview mode, i do not have any idea which is breaking it
The following is the HTML from my website, for the 3 page post when viewed in ‘preview’ mode on page 2
<div id="wp_page_numbers"> <ul> <li class="page_info">?</li> <li class="active_page"> <a class="paginate" href="https://mysite.com/?p=7015&page=2">1</a> </li> <li> <a class="paginate" href="https://mysite.com/?p=7015">2</a> </li> <li> <a class="paginate" href="https://mysite.com/?p=7015&page=3">3</a> </li> <li class="paginate"> <a href="https://mysite.com/?p=7015">?</a> </li> </ul> </div>
You can see the code is in fact as it should appear on page 1, and not the correct code for page 2.
and the same bug shows up in the dropdown menu when it’s activated… in fact things get worse and after using the dropdown choices a few times it starts to feel almost like a lucky-dip as to what page will show up when you select.
I really don’t know what else to add, and obviously can’t help with tracking down the error… if it just something as simple as being caused by viewing it in ‘preview’ mode, then that is actually quite inconvenient from a blogging point of view, and properly checking a post before publication
Cheers – Ade
Forum: Plugins
In reply to: [Plugin: Number My Post Pages] Something has gone wrongHi – i use the following custom permalink
/%category%/%postname%/