dodoland
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] add SELECT in searchform.phpok.
i wrote the php, i think it’s:if (!empty($_GET[‘s’])) {
$array = $_GET[‘s’];
$result = “”;
foreach ($array as $key => $value) {
$result .= $value . ” “;
}
echo $result;
}now maybe i have to put it in the:
function add_query_vars_filter( $vars ){
$vars[] = “my_var”;
return $vars;
}
add_filter( ‘query_vars’, ‘add_query_vars_filter’ );is it right?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] add SELECT in searchform.phpcan you help me to write the pre_get_posts filter to add to function.php?
Forum: Themes and Templates
In reply to: [Hueman] home page post-list 3 columnsSure:
– in the CSS change the % in post-list class; now is 50%, for 3 columns will be 33%, for 4 25%, etc. –> .post-list .page { width: 33%; float: left; }
– in index.php (and obviously in archive and search) change the % in the line <?php if($i % 2 == 0) { echo ‘</div><div class=”post-row”>’; } $i++; endwhile; echo ‘</div>’; ?> –> 3 columns will be ($i % 3 == 0), 4 columns ($i % 4 == 0), etc.
that’s all π
Forum: Themes and Templates
In reply to: [Hueman] home page post-list 3 columnsok, i solved it
Forum: Themes and Templates
In reply to: [Hueman] change nav font colori add another php code (qtranslate) in the header nav inside a div class=”toggle-search”
it works but when i click it, the search div in the top nav opens at the same time
how can i fix it?
Forum: Plugins
In reply to: [mqTranslate] Horizontal layout with mqTranslatei solve with
.qtrans_language_chooser {
overflow: hidden;
display:inline-block;
position: absolute;
float: left;
z-index: 100;
padding-left: 5px;
}
.qtrans_language_chooser a {
padding-right: 5px;
}
.qtrans_language_chooser li {
float: left;
}Forum: Plugins
In reply to: [mqTranslate] How to put language switcher into header image?it’s a great solution!
but i don’t got it how can i change text with flags…
and how can I change the formatting? with php code that creates a list in vertical, i need an horizontal choice
thank youForum: Themes and Templates
In reply to: [Hueman] featured slideshow for some specific categoriesi have 10 categories, five of them are cities and are in the menu with 5 different items
I need to show a slideshow for each specific, for example: if I click on the menu item “Milan” (corresponding to the category “Milan”) I need to show a slideshow with the posts of the category “Featured-Milan.”
for widgets there are hacks or plugins that allow me to show widget only for some specific categories.
How can I do a similar thing for the slideshow?
thank you
Forum: Themes and Templates
In reply to: [Hueman] dropcap cut letters in slider home pageok, thank you very much
Forum: Themes and Templates
In reply to: [Asteria Lite] Disable Ajax Paginationok, it works.
thank you so muchForum: Themes and Templates
In reply to: [Asteria Lite] Disable Ajax PaginationMaybe i made ββa wrong request, i wish the 4 blocks loaded at once, and not the mouse scroll