giuseppe23
Forum Replies Created
-
Thanks Im trying now
Forum: Plugins
In reply to: [WP ULike - All-in-One Engagement Toolkit] Likes count on index loopthanks
Forum: Fixing WordPress
In reply to: How can I list post type categories as select dropdownno way?Is it possible?
For Example
<form action="<?php bloginfo('url'); ?>/" method="get"> <?php $select = wp_dropdown_categories('show_option_none=Select Category&show_count=1&orderby=name&echo=0&selected=6'); $select = preg_replace("#<select([^>]*)>#", "<select$1 onchange='return this.form.submit()'>", $select); echo $select; ?> <noscript><input type="submit" value="View" /></noscript> </form>
But this displays all wordpress categories I want to list only portfolio categories instead
Forum: Fixing WordPress
In reply to: How to list post types categoriesThanks
Forum: Fixing WordPress
In reply to: How to list post types categoriesYes but the problem is that I need to add with the same code to display post count too as I did for the normal wordpress categories.I just tested many times but couldn’t get any result.
The Code wich I gave works perfect for post categories but I will add another menu in Gallery template with the same style if I find any solution.Forum: Fixing WordPress
In reply to: How to list post types categoriesThanks Im going to test now
Forum: Plugins
In reply to: [Name Directory] Name Directory Template codethankyou
Forum: Plugins
In reply to: [WP Favorite Posts] Favourites Page stylingthanks neiler your idea helper me I configuret page template as I want you are right thanks again
Forum: Plugins
In reply to: [Universal Star Rating] Stars Are not ClickableI dont know for what is this plugin,
It displays only an image and enough…No click no vote nothing.Forum: Plugins
In reply to: [Name Directory] Name Directory Template codeHi thankyou for the reply.
Im looking for a plugin wich displays an alphabetic and numeric pagination on my wordpress index as I saw on the screenshots of this plugin this can do it but on the admin area I have only the place to add new names.Forum: Fixing WordPress
In reply to: How to use if else in cssWorked ??
<?php if ( $bg1 ) { echo $bg1; } else { echo '#000'; } ?>
thanks for all
repliesForum: Fixing WordPress
In reply to: How to use if else in cssand used this tutorial here https://css-tricks.com/css-variables-with-php/
I tried to add <?php if ( $bg1 ) { echo $bg1; } else { echo ‘#000’; } ?>
it works but the problem is that it creates some spaces on menu
Forum: Fixing WordPress
In reply to: How to use if else in cssfor example
$options[] = array( 'name' => __('Menu Background', 'testl'), 'desc' => __('The Menu Background color ', 'test'), 'id' => 'menubg', 'std' => '', 'class' => '', 'type' => 'color');
I tried to use ‘std’ => ‘#000’, but it only save and in new theme instalation I see the menu without the background
Forum: Fixing WordPress
In reply to: How to use if else in cssNo I’m not using that I’m using a options.php wich I got from another themem and has some other files as optionsframwework.php but I get it to work I can use colorpicker I can change the colors I need only to set a default color when nothing selected
Forum: Fixing WordPress
In reply to: How to use if else in cssI tried using as echo of_get_option(‘menubg’); but it changed only dropdown created css bug on dropdown but when I use with variable it works good.