Forum Replies Created
-
Author
-
bingoenvatoParticipant
Hi Radu,
Ohhhh, sorry!As said, I replaced the WP loop in index.php with the grid snippet, mentioned and want to use the grid in archive and search templates too. But don‘t know, which kleo template files to use for this.
I like to use the grid for CPT too.Thanks for your. Support
bingoenvatoParticipantStrange behaviour:
This disabled Lightbox on certain CPT (product, bullishow) too.
COPY CODEadd_action( 'wp_print_scripts', 'vanagogo_javascript', 100 ); function vanagogo_javascript() { if ( ! is_singular( array('page', 'attachment', 'post') ) ) { wp_deregister_script( 'gmw-js' ); } }
This solves the issue:
COPY CODEadd_action( 'wp_print_scripts', 'vanagogo_javascript', 100 ); function vanagogo_javascript() { if ( ! is_singular( array('page', 'attachment', 'post', 'product', 'bullishow') ) ) { wp_deregister_script( 'gmw-js' ); } }
bingoenvatoParticipantHi Radu,
thank you for the hint, but unfortunately this does not work, but I found this
COPY CODEadd_action( 'wp_print_scripts', 'vanagogo_javascript', 100 ); function vanagogo_javascript() { if ( ! is_singular( array('page', 'attachment', 'post') ) ) { wp_deregister_script( 'gmw-js' ); } }
So far GeoMyWP CSS in Geodirectory is right.
Perhaps you have a more elegant solution to this.
bingoenvatoParticipantHi Radu,
tried this:
COPY CODEadd_action( 'wp_print_scripts', 'vanagogo_javascript', 100 ); function vanagogo_javascript() { if ( is_page_template( 'geodir-listing.php' ) ) { wp_deregister_script( 'gmw-js' ); } }
and this:
COPY CODEadd_action( 'wp_print_scripts', 'vanagogo_javascript', 100 ); function vanagogo_javascript() { if ( is_page( 1 ) ) { wp_deregister_script( 'gmw-js' ); } }
The second one with page ID works, but the listings called with an Geo Directory-archive template ( 1. snippet above ) does not work.
But this is, what I need. Do you have any further suggestion?
bingoenvatoParticipantTry to add this
COPY CODEfunction dequeue_my_css() { wp_dequeue_style('gmw-style-css'); wp_deregister_style('gmw-style-css'); } add_action('wp_enqueue_scripts','dequeue_my_css');
to disable GeoMyWP-CSS, but does not work. Seems there are two CSS files loaded from the GEoMy WP-PlugIn:
COPY CODE<link rel="stylesheet" id="gmw-style-css" href="https://vanagogo.de/wp-content/plugins/geo-my-wp/assets/css/style.css" type="text/css" media="all"> <link rel="stylesheet" id="gmw-cl-style-dep-css" href="https://vanagogo.de/wp-content/plugins/geo-my-wp/assets/css/gmw-cl-style-dep.css" type="text/css" media="all">
So, I just need to disable this for the listing templates of Geo Directory to solves.
Can you help me on this?
bingoenvatoParticipantHi,
added Code to GD- CSS (please see attached pictures), but nothin changed.
What about an import json file for GD-theme?Attachments:
You must be logged in to view attached files.bingoenvatoParticipantHi,
please the here: https://vanagogo.de/vw-bulli-rettung/ for the big related picture.
I like to have this about 250px wide.January 4, 2018 at 12:50 in reply to: Activity meta not shown with Kleo but with Twenty Seventeen Template #184714bingoenvatoParticipantNot marked as solutionbingoenvatoParticipantSorry my mistake. Looked as an admin for this.
For an admin there IS no button.
For a subscriner the button is shown.
SOLVED.June 19, 2017 at 11:16 in reply to: different member profile page and wrong redirection when uses GD #164596bingoenvatoParticipantSOLVED by ne installation.
-
AuthorPosts