Profiles

  • Member Since: December 3rd, 2018
  • Find me on:
  • Posted a reply to Adding an array to my taxonomy search query, on the site WordPress.org Forums:
    On Archive page the filter used was "get_the_archive_title" both for taxonomy and category. About the…

  • Posted a reply to navigation bar in german, on the site WordPress.org Forums:
    Done. But I lost all the translations //SOTTODOMINIO IN TEDESCO add_filter('locale', 'lang_by_subdomain', 0); function lang_by_subdomain(…

  • Posted a reply to Adding a search criterium in my custom search box, on the site WordPress.org Forums:
    Done. But it's not filtering: https://pastebin.com/VH4av7HS

  • Posted a reply to Adding an array to my taxonomy search query, on the site WordPress.org Forums:
    I dont have yet a filter callback to modify. The taxonomy "tipologia" has a filter…

  • Posted a reply to navigation bar in german, on the site WordPress.org Forums:
    I deactivated loco translate but I still have terms in italian on the german version…

  • Posted a reply to printing tags name and their translation, on the site WordPress.org Forums:
    I tryed this with no effect // FILTRA I TAG IN TEDESCO add_filter('get_the_content', function( $the_content)…

  • Created a topic, Adding an array to my taxonomy search query, on the site WordPress.org Forums:
    I'd like to do something similar to what I have done f…

  • Posted a reply to Adding a search criterium in my custom search box, on the site WordPress.org Forums:
    This is unluckily not working function bedrooms_guests_search_query( $query ) { if (! is_admin() && $query->is_main_query())…

  • Posted a reply to printing tags name and their translation, on the site WordPress.org Forums:
    Ok, the field is created and the translation saved, now I have to filter according…

  • Posted a reply to navigation bar in german, on the site WordPress.org Forums:
    I created a plugin with this basic content /* * Plugin Name: NavBar-lingue */ //…

  • Created a topic, layout problems in the post edit page, on the site WordPress.org Forums:
    I recently created two new custom fields, but they cau…

  • Posted a reply to return some $ under condition, on the site WordPress.org Forums:
    Message of PHP error: Deprecated implode(): Passing glue string after array is deprecated. Swap the…

  • Posted a reply to Adding a search criterium in my custom search box, on the site WordPress.org Forums:
    I'm here function bedrooms_guests_search_query( $query ) { if (! is_admin() && $query->is_main_query()) { if (…

  • Posted a reply to new filter in the admin post table, on the site WordPress.org Forums:
    I think the plugin doesnt disturb because I created my self a column by code…

  • Posted a reply to printing tags name and their translation, on the site WordPress.org Forums:
    What I could use to modify the following code for tags fields? I have red…

  • Posted a reply to return some $ under condition, on the site WordPress.org Forums:
    I renamed $output by $output_distanze, but it's not working: https://pastebin.com/X0DP0Z62 , it doesnt output the…

  • Posted a reply to return some $ under condition, on the site WordPress.org Forums:
    the problems is the php (not the translation) because the function outputs: per 3 persone,…

  • Posted a reply to navigation bar in german, on the site WordPress.org Forums:
    I have found the following: first I should create a file: force-locale.php (or I have…

  • Created a topic, translation in german, on the site WordPress.org Forums:
    How can I force the plugin to output in german when I …

  • Posted a reply to Extending a function, on the site WordPress.org Forums:
    I think something is missing, probably a logic connection between the 2 declarations: $terms =…

  • Posted a reply to return some $ under condition, on the site WordPress.org Forums:
    I'm going to try with the above code. In the meanwhile, in the same function…

  • Created a topic, new filter in the admin post table, on the site WordPress.org Forums:
    How can I add a new additional filter in order to have…

  • Created a topic, Making a copy of a function, which variables must be changed, on the site WordPress.org Forums:
    I'm trying to make another identical function such as …

  • Posted a reply to navigation bar in german, on the site WordPress.org Forums:
    Maybe it's more simple if I do my own navigation/pagination code with gettext. There is…

  • Created a topic, printing tags name and their translation, on the site WordPress.org Forums:
    I've been able to put in my shortcode the list of the …

  • Posted a reply to Extending a function, on the site WordPress.org Forums:
    I added $term_trans = __( $terms, 'sacconicase'); but my plug in loco translate cant extract…

  • Created a topic, reduce the number of dots, on the site WordPress.org Forums:
    Is it possible to set a max number of dots on the pict…

  • Posted a reply to Extending a function, on the site WordPress.org Forums:
    I have had an idea! Since I found a code for a custom box with…

  • Posted a reply to new meta box in post editor with select, on the site WordPress.org Forums:
    Ok, I found some code in the web that is working fine, with an array,…

  • Posted a reply to Adding a search criterium in my custom search box, on the site WordPress.org Forums:
    I wonder if I can change the name "tipologia" in $searchterm = $query->query_vars['tipologia']; because "tipologia"…

  • Posted a reply to return some $ under condition, on the site WordPress.org Forums:
    In the return I have to use that special slanted apostrophe? how can I concatenate…

  • Created a topic, errors php, on the site WordPress.org Forums:
    I have 2 errors to solve: Post type non valido. (in…

  • Posted a reply to navigation bar in german, on the site WordPress.org Forums:
    Unlickyly it has no effect on the navigation bar, which is still sensitive only to…

  • Posted a reply to field no more saving the data, on the site WordPress.org Forums:
    right! this is done

  • Posted a reply to field no more saving the data, on the site WordPress.org Forums:
    With query monitor I got this problem: WarningA non-numeric value encountered+ wp-content/themes/sacconicase/appartamenti.php:770 The strange is…

  • Created a topic, field no more saving the data, on the site WordPress.org Forums:
    there is a custom field that has ceased to save the da…

  • Posted a reply to return some $ under condition, on the site WordPress.org Forums:
    Ok, it seems it works, I'm eliminating step by step all the functions from the…

  • Posted a reply to navigation bar in german, on the site WordPress.org Forums:
    Using if ('de.' == substr( $_SERVER['HTTP_HOST']), 0, 3 ) { define ('WPLANG', 'de_DE'); } after…

  • Posted a reply to Extending a function, on the site WordPress.org Forums:
    $terms = get_the_terms( $post->ID, 'tipologia')[0]->name; is what I need, but it should print also the…

  • Created a topic, return some $ under condition, on the site WordPress.org Forums:
    Starting from return $category.' '.$terms .' ' . …

  • Created a topic, new meta box in post editor with select, on the site WordPress.org Forums:
    I'm trying to make work a new selector https://pastebi…

  • Posted a reply to navigation bar in german, on the site WordPress.org Forums:
    I have just this in my wp-config.php //configurazione sottodominio in tedesco define( 'WP_SITEURL', 'https://' .…

  • Posted a reply to Adding a search criterium in my custom search box, on the site WordPress.org Forums:
    Ok, now I'm here: https://pastebin.com/kYmZjHaQ

  • Posted a reply to Extending a function, on the site WordPress.org Forums:
    Is this the right way to print also taxonomy terms in the right language? add_shortcode('description',…

  • Posted a reply to Extending a function, on the site WordPress.org Forums:
    you are right, it's working. Theoretically I would need the category translated in the right…

  • Created a topic, navigation bar in german, on the site WordPress.org Forums:
    I still have to find a solution to this problem about …

  • Created a topic, layout problem on search result pages, on the site WordPress.org Forums:
    If I use my custom search field filtering by post ID h…

  • Posted a reply to Adding a search criterium in my custom search box, on the site WordPress.org Forums:
    If I have well undestood this code is for making work 2 fields: n.of guests…

  • Posted a reply to Extending a function, on the site WordPress.org Forums:
    "get_the_category" instead of "wp_get_post_categories" (and the rest is unchanged) breaks the layout

  • Posted a reply to Right filter for taxonomy in german, on the site WordPress.org Forums:
    function modify_get_terms_defaults($terms, $taxonomies, $args, $term_query) { $lang = substr( get_locale(), 0, 2); if ('it' ==…