kgumhiok
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Allow users to moderate pending postsguess nobody can help
Forum: Fixing WordPress
In reply to: Allow users to moderate pending postsHello? ??
Forum: Fixing WordPress
In reply to: Allow users to moderate pending postsIs there someone that can help me?
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Script inside AjaxThis is the code i have in functions.php add_filter(‘uwpqsf_result_tempt’, ‘customize_output’, ”, 4);
function customize_output($results , $arg, $id, $getdata ){
// The Query
$apiclass = new uwpqsfprocess();
$query = new WP_Query( $arg );
ob_start(); $result = ”;
// The Loopif ( $query->have_posts() ) {
while ( $query->have_posts() ) {
$query->the_post();global $post;
echo ”.the_content().”;}
echo $apiclass->ajax_pagination($arg[‘paged’],$query->max_num_pages, 4, $id, $getdata);
} else {
echo ‘no post found’;
}
/* Restore original Post Data */
wp_reset_postdata();$results = ob_get_clean();
return $results;
}And this is the script i want to load in results <script src=”https://tooltip.lolbuilder.net/v/0.1.1/release/loltip.min.js”></script>
Its already in the head of my theme but when i search and the image appears it doesnt have a tooltip like the rest of the post
Forum: Fixing WordPress
In reply to: Script inside Ajaxok ty
Forum: Fixing WordPress
In reply to: Script inside Ajaxhttps://www.ads-software.com/plugins/ultimate-wp-query-search-filter/
with this in functions.php
add_filter(‘uwpqsf_result_tempt’, ‘customize_output’, ”, 4);
function customize_output($results , $arg, $id, $getdata ){
// The Query
$apiclass = new uwpqsfprocess();
$query = new WP_Query( $arg );
ob_start(); $result = ”;
// The Loopif ( $query->have_posts() ) {
while ( $query->have_posts() ) {
$query->the_post();global $post;
echo ”.the_content().”;}
echo $apiclass->ajax_pagination($arg[‘paged’],$query->max_num_pages, 4, $id, $getdata);
} else {
echo ‘no post found’;
}
/* Restore original Post Data */
wp_reset_postdata();$results = ob_get_clean();
return $results;Forum: Fixing WordPress
In reply to: Script inside AjaxI dont use any plugin for this, i have read that ajax has difficulties loading javascripts
Forum: Fixing WordPress
In reply to: Script inside AjaxAll i know is that to use the script i need to put this <img src=”https://ddragon.leagueoflegends.com/cdn/4.13.1/img/spell/VladimirTransfusion.png” width=”64″ height=”64″ class=”borde” />
and the script comes from here
<script src=”https://tooltip.lolbuilder.net/v/0.1.1/release/loltip.min.js”></script>Forum: Fixing WordPress
In reply to: Script inside AjaxFinally i got it to work, if you can help me how to make ajax work with the script without deleting nothing more?
Forum: Fixing WordPress
In reply to: Script inside AjaxAwesome,now i was checking and none of the javascripts i had is working ty
Forum: Fixing WordPress
In reply to: Script inside Ajaxreveal? i told you what was my problem, the javascript wasnt working with an ajax search, you made me delete googleapi script and now the javascript doesnt work i have 2 problems now instead of 1
Forum: Fixing WordPress
In reply to: Script inside Ajaxi added to header and footer plugin… but now it doesnt work…
Forum: Fixing WordPress
In reply to: Script inside Ajaxtooltips worked fine until you made me remove it… what do i do now….
Forum: Fixing WordPress
In reply to: Script inside Ajaxguess i cant find a solution here, ty for your time
Forum: Fixing WordPress
In reply to: Script inside AjaxIt worked before until i deleted the googleapi, i just wanted to know how to make it work with ajax and now it doesnt even work, i tried all thats why i am here if not i would already had fix the problem