sam1351
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Not working on the main pageI managed to solve the problem :
I saved the texts for the 2 secondary languages in a text file, then completely deleted the 2 pages, emptied the cache to make sure my browser didn’t get mixed up. Re-generated new versions from the original language homepage and it worked, of course I had to copy and paste the translations back into each page.
Good luck ??
I managed to solve the problem :
I saved the texts for the 2 secondary languages in a text file, then completely deleted the 2 pages, emptied the cache to make sure my browser didn’t get mixed up. Re-generated new versions from the original language homepage and it worked, of course I had to copy and paste the translations back into each page.
Good luck ??
Hi, I have some kind of similar problem :
I built a site for a client a few years ago using Neve Template and Polylang, its in 3 languages.
Lately he asked me to update some info on his homepage. I updates WordPress and all plugins then made the changes to the homepage in the main language, french, and noticed something had gone wrong with the homepages of the english and spanish pages.
Example.com leads to the french homepage
Example.com/en leads to an empty page, if I click “home” in the menu the page exists. Same problem with spanish
I select the language, then settings -> reading -> homepage dropdown menu -> select “home” -> save. After saving the page refreshes but hasn’t saved…
I finally managed to get the english page to work, by erasing the existing homepages for EN and ES. Duplicating the original homepage and serving. I have managed to make FR & EN versions to work (allthough EN now needs translating) but impossible to get ES working, its still blank. Before hand I had managed to get FR & ES working, but not EN.
This is driving me nuts…
Forum: Plugins
In reply to: [Polylang] Not working on the main pageHello,
I built a site for a client a few years ago using Neve Template and Polylang, its in 3 languages.
He asked me to update some info on his homepage, I did so in the main language, french, and noticed something had gone wrong with the homepages of the english and spanish pages.
Example.com leads to the french homepage
Example.com/en leads to an empty page, if I click homepage the page exists. Same problem with spanish
I select the language, then settings -> reading -> homepage dropdown menu -> select “home” -> save. After saving the page refreshes but hasn’t saved… I’m really frustrated.
@rogeriodec same as you I have no problem with the pther pages. Have you managed to sort this out ?
Forum: Developing with WordPress
In reply to: functions.php breaking site when I add custom codeHi Ian,
No… Critical Error is the only info I have. I’ll leave the site crashed for 15 minutes if you’re around you can take a look.
Forum: Developing with WordPress
In reply to: functions.php breaking site when I add custom codeHere’s an example with an extra snippet :
<?php add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { $parenthandle = 'parent-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme. $theme = wp_get_theme(); wp_enqueue_style( $parenthandle, get_template_directory_uri() . '/style.css', array(), // if the parent theme code has a dependency, copy it to here $theme->parent()->get('Version') ); wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( $parenthandle ), $theme->get('Version') // this only works if you have Version in the style header ); } function the_post_thumbnail_caption( $post = null ) { /** * Filters the displayed post thumbnail caption. * * @since 4.6.0 * * @param string $caption Caption for the given attachment. */ echo apply_filters( 'the_post_thumbnail_caption', get_the_post_thumbnail_caption( $post ) ); }
Forum: Plugins
In reply to: [WooCommerce] Creating a “button” selection filterSo here is an example of exactly the type of filter I would like to set up :
https://www.providerstore.com.au/collections/aroma
Basically a series of buttons to refine the selection
Forum: Plugins
In reply to: [WooCommerce] Creating a “button” selection filterThanks for your input Sunday, but really I’m looking for a non plugin solution. I only rely on plugins for “complicated” matters.
Anyhow, would you have an idea how this type of filter is named ?