zazzou
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught TypeError: array_merge()Hello
I have the same problem. Did you find a solution ?
Thanks
Forum: Fixing WordPress
In reply to: ERROR after migrationHere the line DB_HOST :
define(‘DB_HOST’, ‘xxxxxxxx.mysql.db’);I have another website and this is a similar adress in the line and it works…So i don’t understand…
Forum: Fixing WordPress
In reply to: ERROR after migrationI hava asking HOST and it is correct.
So the problem is not there…Forum: Fixing WordPress
In reply to: ERROR after migrationI think… I put an adresse that ends with “mysql.db”
Not correct ?Forum: Fixing WordPress
In reply to: Display a page with all posts of one categoryHello
Thanks.
I tried to extract the id number of category but with this code :$recentPosts = new WP_Query(); $categories = get_the_category(); $category_id = $categories[0]->cat_ID; echo $category_id; $recentPosts = new WP_Query(array('post_type' => 'post', 'cat' => $category_id));
The number of the category “all” is always displayed.
Even if I am on the page mywebsite/category/my-categoryI don’t know how to retrieve the id number of the chosen category.
Thanks for helpForum: Fixing WordPress
In reply to: Display a page with all posts of one categoryYes I confirm that regardless of which category link I link on, all posts are displaying.
I prefere to give a private link , how can I do this ?
ThxForum: Developing with WordPress
In reply to: Hide title item of menu in WPThanks !
Forum: Developing with WordPress
In reply to: Hide title item of menu in WPThanks
So it’s not possible to hide this element without using CSS ?Forum: Developing with WordPress
In reply to: Hide title item of menu in WPThanks.
The icons are implemented with a field ACF and then the code looks like this :<ul class="social-links"> <li><a href="xxx" target="_blank" rel="noopener" title="facebook" class="facebook">Facebook<i class=fab fa-facebook"></a></li> <li> <a href="xxxx" target="_blank" rel="noopener" title="twitter" class="twitter">Twitter<i class=fab fa-twitter"></a></li> <li> <a href="xxxx" target="_blank" rel="noopener" title="youtube" class="youtube">Youtube<i class=fab fa-youtube"></a></li> </ul>
Forum: Developing with WordPress
In reply to: Excerpt and “read more”Thanks for answer !
Forum: Developing with WordPress
In reply to: Add a class to image singleI find the solution:
the_post_thumbnail('thumbnail', array('class' => 'your-class-name'));
Thanks
- This reply was modified 4 years, 7 months ago by zazzou.
Forum: Developing with WordPress
In reply to: Add a class to image singleI’m sorry I don’t understand the answer…
I don’t see the code.Forum: Developing with WordPress
In reply to: Add a class to image singleHere the class of the image output :
class=”attachment-custom-image-single size-custom-image-single wp-post-image”
So how can I use the filter ?
- This reply was modified 4 years, 7 months ago by zazzou.
Forum: Themes and Templates
In reply to: [OceanWP] Impossible to change logoThanks I forgot to change the logo in the option “retina”
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Presentation league namesLike this ?
<?php echo esc_attr(implode(", ", $leagues_names) . ';lt;br>' . $date_show); ?>
It display on front again
Finally, I do this :
<div class="stm-next-match-info heading-font"> <?php echo esc_attr(implode(", ", $leagues_names) ); ?></div> <div class="stm-next-match-info heading-font"> <?php echo esc_attr( $date_show); ?> </div>
Thanks.