Zarce Baron
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: How about add classes to menu items?Just closing this topic as RESOLVED. 🙂
Forum: Requests and Feedback
In reply to: How about add classes to menu items?Hey Justin and Ipstenu! Thank you guys for your help!
That was exactly what I was looking for! I wasn’t able to see the option at first… I feel silly now. 😀Thank you again!
Forum: Requests and Feedback
In reply to: How about add classes to menu items?psopacua, Not a word from the community. I really hope this feature can be added soon ’cause I don’t believe it’s a rocket science and it would be so so helpful for us.
What I’m doing as an interim solution, is to add an title attribute to the link when it’s created, and then, using the [title=””] css selector, I’m able to assign any visual element to the link that I need.
Still, it’s far from a good solution, considering its lack of scalability and maintenance, but until the feature proposed is not implemented, I think it’s the better way to deal with it.
Forum: Requests and Feedback
In reply to: How about add classes to menu items?Hi Andrew! I appreciate your help, but for what I see in this article, I don’t think it solves my needs. Even if it does, all this seems to be so unecessary!
Check this image I made to explain what I belive to be a huge improvement and why WP developers should take into account.
Forum: Requests and Feedback
In reply to: How about add classes to menu items?It depends..
<a>or<li>. It’s usual to add a class to<li>tag. For instance, imagine that only few items in the menu have subitems, and I want to add a down arrow to these items indicating that there’s subitems under them, hidden. Right? It is a good practice.
A good way to do it, would be on admin panel > appearence > menus. Once you select an item to add to your menu, besides the conventional inputs like Label and Attribute, it would be awesome to have a simple input called “Class”. Then, just assign the desired class to a specific menu item.At least, in my limited non-developer mind, it looks pretty simple to implement and it would be a super useful setting.
Forum: Plugins
In reply to: [WP-Paginate] WP-Paginate – Template file – Alwayes return to the first pageI’m writing to show my code, wich was moderated due to its size.
So, the code is:<?php query_posts('category_name=category-name'); ?> <?php if (have_posts()) : ?> <h2>Title</h2> <?php while (have_posts()) : the_post(); ?> <h3><?php the_title(); ?></h3> <?php endwhile; ?> <?php if(function_exists('wp_paginate')) { wp_paginate(); } ?> <?php endif; ?>My problem is that, the plugin creates the following url:
http://www.mysite.com/TEMPLATE-PAGE/page/2/
Once it happens, I’m redirected to the first page every time.But what I really needed is that the plugin creates a url like this:
http://www.entrecactoos.com.br/category/CATEGORY-NAME/page/2/Where, my CATEGORY-NAME is the name of the category I’m calling with the query_post tag, at the beginning of my code.
I need it to create a friendly SEO url that has /TEMPLATE-PAGE immediately after the http://www.mysite.com. If anyone knows an alternative to achieve it instead of creating a template page wich calls a loop of results, similar to the archive template but with a specific category, please help me!
Forum: Plugins
In reply to: [Power slider] [Plugin: Power slider] Use specific categoriesDear.. forget about it! Just found it!
I’ll leave this message in case of anyone came up with the same problem.Just need to use this version of code:
<?php the_power_slider( 'category=1&limit=10&animation=fade' ); ?>Shame on me! 😀
Forum: Plugins
In reply to: Post rating with Facebook loginThanx cristalinc,
Well, I’ve spent days looking around the web, searching for this charmed plugin :D. No success. I had to outsourcing this job.
Exactly what I was looking for! Thanx!