alam7o
Forum Replies Created
Viewing 10 replies - 1 through 10 (of 10 total)
-
After a lot of research, I found out that this problem is caused by the hosting server blocking this request due to a security hole in the plugin.
The mentioned security hole:
https://www.wordfence.com/blog/2020/11/critical-privilege-escalation-vulnerabilities-affect-100k-sites-using-ultimate-member-plugin/
Has this security issue been resolved?Forum: Hacks
In reply to: replace words in my posts and saved new wordsi want just re-saved data . not change just re-save
Forum: Hacks
In reply to: replace words in my posts and saved new words@bcworkz i add this code but not worked to me
function actualiza() { global $post; $args = array( 'numberposts' => -1, 'post_type' => 'post', ); $the_query = get_posts( $args ); if ($the_query) { foreach ($the_query as $post) { $name = get_post_meta($post->ID, 'artist', true); update_post_meta($post->ID, 'artist', $name ); } } } wp_reset_query(); add_action('wp_head', 'actualiza');
Forum: Hacks
In reply to: replace words in my posts and saved new wordsBy changing the code gets the job done function ????
function replace_text_wps($text){ $replace = array( // ‘WORD TO REPLACE’ => ‘REPLACE WORD WITH THIS’ 'wp' => '<img href="#"><a href="#">wordpress</a>', ); $text = str_replace(array_keys($replace), $replace, $text); return $text; } add_filter('the_content', 'replace_text_wps'); add_filter('acf/load_value/name=artist', 'replace_text_wps');
Forum: Plugins
In reply to: [WP-PostRatings] how to diferent text for rated useri want use
$rated
on wp-postratings.phpForum: Themes and Templates
In reply to: different styles for poststhanks for your answer
i fixed with this style.posts:nth-last-of-type(odd) {background: green;} .posts:nth-last-of-type(even) {background: yellowgreen;}
Forum: Plugins
In reply to: [WP-PostRatings] use Sort Highest/Lowest Rated Posts in custom page templatesorry for update post my query in custom template php is
<?php $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $custom_args = array( 'post_type' => 'post', 'orderby' => 'date', 'cat' => array('5','1'), 'posts_per_page' => 5, 'paged' => $paged ); $custom_query = new WP_Query( $custom_args ); ?> <?php if ( $custom_query->have_posts() ) : ?> <!-- the loop --> <?php while ( $custom_query->have_posts() ) : $custom_query->the_post(); ?> <article class="loop"> <h3><?php the_title(); ?></h3> <div class="content"> <?php the_excerpt(); ?> </div> </article> <?php endwhile; ?> <!-- end of the loop --> <!-- pagination here --> <?php if (function_exists(custom_pagination)) { custom_pagination($custom_query->max_num_pages,"",$paged); } ?> <?php wp_reset_postdata(); ?>
very Thanks
Forum: Plugins
In reply to: problem with Permalink changeplease help me
Viewing 10 replies - 1 through 10 (of 10 total)