Last active
January 9, 2024 09:09
-
-
Save Geoplous/2bc48b319f57ebfc58e1752d2ccdb9be to your computer and use it in GitHub Desktop.
WordPress Divi show tags in Blog module
I put my file here Divi-child/module/Blog.php after add tag code and do changes in functions.php but tags not showing with blog module.
it is ../module/.., code revised.
Sorry, but I can not see what is your issue
your code is worked, you just need to update remove first line from Blog.php file
require_once 'helpers/Overlay.php';
otherwise it give error.
Please remove comment functions.php file code sometimes we direct copy in functions.php via wp file manager, not sure code is comment or not so make it like that
//in funchtions.php add this:
//GeoPlous. Override the divi blog module
function blog_module_setup() {
get_template_part( 'module/Blog' );
remove_shortcode( 'et_pb_blog' );
add_shortcode( 'et_pb_blog', array( new Geoplous_ET_Builder_Module_Blog(), '_shortcode_callback' ) );
}
add_action( 'et_builder_ready', 'blog_module_setup' );
// E.O. GeoPlous. Override the divi blog module
Thanks
Is it work at that time? Is the Code shows the Tags in the Blog Module or in the current posts?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You mentioned
to (create /module/ folder if does not exist): Divi-child/modules/Blog.php
i want to know folder name should modules or module bcoz you said create a folder module but in path metioned modules.
Thanks