Syafiq Freman
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Using detail.containerPostId in WordPress LoopI put it within the loop and each modal will load different titles and pictures mean it’s within the loop.
<!– Start Looping –>
<?php $the_query = new WP_Query(array(
‘orderby’ => ‘DESC’,
‘post_type’ => ‘library’,
‘posts_per_page’ => 30,
‘post_status’ => ‘publish’
)); if ( $the_query->have_posts() ) { while ( $the_query->have_posts() ) { $the_query->the_post(); ?><?php echo do_shortcode( ‘[contact-form-7 id=”1971″ title=”Download Entries”]’ ); ?>
<?php } } else { } wp_reset_postdata(); ?>`
I tested on default query without “library” the custom post type also got 0 value.
Thanks sir @takayukister
Forum: Plugins
In reply to: [Contact Form 7] Using detail.containerPostId in WordPress LoopHi @takayukister .
Here is the link: https://fusiotech.t9ylwynlim-95m32jpld4rv.p.runcloud.link/resources/
If you click the “Download XXX” button, the form will popup. All the forms there uses the same Contact Form 7 ID. I want to use detail.containerPostId on the DOM but the value is 0.
I test it on single post, it’s working fine but not inside loop.
Thanks sir..
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] I have a solution fix plugin 100% workedLOL It’s work! xD Thanks man.
Forum: Plugins
In reply to: [Advanced Bootstrap Carousel] Bootstrap 4 Support ProblemProblem solved as I just discover that bootstrap version option already in the plugin.
Forum: Plugins
In reply to: After W3 Total Cache redirect domain.de to www.domain.de does not work!Put this at the top of the htaccess file:
RewriteCond %{HTTP_HOST} !^www\.example\.com
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]Make sure there is no space to make everything run perfectly.
If there is another folder between your server then use this code and put it to the top of the htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
RewriteRule ^(.*)$ https://www.example.com/forum/$1 [L,R=301]Where “forum” is the directory. And it’s must be ending with the slash “/”
This second htaccess file must be locate at the selected directory and in this case “/forum” directory.
Hope this help
I face the same issues too. & I use Thesis. anyone can help?
Forum: Fixing WordPress
In reply to: Admin Area: Plugin, Widget, & Add Profile Tab Missing.anyone?
Forum: Themes and Templates
In reply to: Insert Categories at the Top Navbar Menu?I think the new features of WordPress 3.0 Menu funtion may help me. Just found it last night.
Forum: Fixing WordPress
In reply to: "No categories" PROBLEM :(or may be nothing post made belong to the category..