webmaster7
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Problem with categoriesNo replies after almost 1 month. I have many posts that can’ be seen because of this bug. I’ve deleted and installed the software again, and still nothing…
Forum: Fixing WordPress
In reply to: Problem with categoriesPlease help? I’m loosing my mind with this… without pretty permalinks it all works, so the problem is that. But I can’t ditch it, because I have too many pages indexed…
Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.Donations made:
$5 for SzubNet
$5 for Matthew MullenwegEven without asking, I always keep my word ??
Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.Hello!
Geoffe, your code works perfectly if you are inside the category, but if you click on any entrie, the code stops working maybe because the single_cat_title function can’t recognize the category to which the single entries belong.
David, your multiple categories problem raise some questions, but at least for that site I won’t have such problems, because each entry belongs to just one category.
I decided to use Kafkaesqui plugin, and make a donation to him.
Thank you all, this was really a great thread!!!
Bye!
Nuno
Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.Woho, I think that the plugin from guff.szub.net is really what I needed! It worked. I will try it further, but if it does what I need, he will receive my donation.
Thank you!Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.I found this plugin:
https://guff.szub.net/2005/07/21/post-templates-by-category/and maybe I will try to work with it. I can then post a different template (including the texts I need) to all pages contained in a determined category. I hope it works…
Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.Hello Geoffe!
That does work if you are in the category archive page, but if you click in any of the articles, it won’t work on the single page, because the function is_category isn’t recognized there :/ And I need those phrases in the end of each of my posts, not on the categories pages ??
Oh, we were almost there…I really thank all your help.
Nuno
Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.Oh, those conditions tags may be useful someday, but it doesn’t solve my problem :/
I just really want to have the category name, without any invisible character, inside a variable. But the name that is being exported, always has some strange things that doesn’t let the comparison work ??Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.Hello Silkjaer!
I will check your advice. I think that an invisible character is being exported, and because of that this doesn’t work.
Using this:
<?php foreach((get_the_category()) as $cat) { $nuno=$cat->cat_name . ‘ ‘; } if ($nuno == “cats”) { echo “Hello”;} ?>
it doesn’t print the word hello, and the category is really called cats :/
So maybe the == doesn’t work because what inside the variable nuno isn’t just the word cats, but something more, like a special character or something.
If I manually echo the variable $nuno it really prints cats. but the comparison doesn’t work…Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.If you are inside the category archive, this tag <?php echo single_cat_title(); ?> also shows the title of the category, but if you are inside a single page it won’t show anything. It doesn’t recognize that page as belonging to a determined category.
But, the suggestion of Les_Bessant does print the category name inside the single page, without any other special character attached!
<?php
foreach((get_the_category()) as $cat) {
echo $cat->cat_name . ‘ ‘;
} ?>Now I will try to attribute that to a variable, so that I can make some decision trees. Thanks!!!!!!
Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.Hello!
I also have it working on my category pages, but I couldn’t call it from a single page. I will try your advice, and if it works, I will code the decision tree ??
Many, many thanks ??
Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.Thank you, I will try it out ?? I already tried so many things and variants…
But my offer is still standing, if someone knows how to do it, even more now with the help of LesBessant ??Bye!!!
Nuno
Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.Hello again!
Oh, and it would be great if I could put the category name in my title too, for example: Post name – Category name
Many thanks!
Forum: Plugins
In reply to: Need paid help! Print a phrase depending on the category name.Oh, if you don’t need the money, I can donate it to WordPress ??
Forum: Plugins
In reply to: v1.1 PayPal QuickTagKvillines, this is an excellent add-on! I was thinking of installing OSCommerce or ZenCart, but your add-on may replace them for the use I need!
I’ll bookmark this thread to see when you have a WP2 version.Thanks!!!
Nuno