ionz149
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Where are Audio/Video Playlists?@rmcellig I found them by hovering over the files in the media gallery and viewing the id in the link preview. Alternately you can click on the media file in question and view the id in the url.
For example: ‘…min/post.php?post=66&action=edit’
The id would be 66
** not sure of how to do multiples at one time 🙂
- This reply was modified 7 years, 6 months ago by ionz149.
Hey Alex,
Not to worry, you have answered it with link 🙂Thanks,
ChrisForum: Plugins
In reply to: [WP Popular Posts] excerpt ellipsisokay, I was thinking that might be the case. I will attempt to make it comply.
Forum: Plugins
In reply to: [WP Popular Posts] ACF field integration?@hcabrera Oh yeah! Thanks for the speedy replies! Works splendidly 😀
Forum: Plugins
In reply to: [WP Popular Posts] ACF field integration?Thanks!
Okay, well here is code I am using which works great as is. I am trying to add a video class to the .image div if a video is present in video field (‘featured_video’ field) of a post.
I am also banging my head against the ‘my_custom_popular_posts_html_list’ examples in documentation in case that is a better approach but I am a little in over my head 🙂
<?php $args = array( 'wpp_start' => '<div class="main-carousel">', 'wpp_end' => '</div>', 'post_html' => '<div class="carousel-cell"><div class="image">{thumb}</div><div class="data"><span class="cats">{category}</span><span class="date">{date} </span></div><h4><a href="{url}">{text_title}</a></h4></div>', 'thumbnail_width' => '298', 'thumbnail_height' => '203', 'stats_date' => '1', 'stats_category' => '1', 'limit' => '8' ); wpp_get_mostpopular( $args ); ?>if it is of any help here is my non-working previous code with the repeating video field:
<?php $video = get_field('featured_video'); $args = array( 'wpp_start' => '<div class="main-carousel">', 'wpp_end' => '</div>', 'post_html' => '<div class="carousel-cell"><div class="image">{thumb}</div><div class="data"><span class="cats">{category}</span><span class="date">{date} </span></div><h4><a href="{url}">{text_title}</a></h4>'.$video.'</div>', 'thumbnail_width' => '298', 'thumbnail_height' => '203', 'stats_date' => '1', 'stats_category' => '1', 'limit' => '8' ); wpp_get_mostpopular( $args ); ?>Forum: Plugins
In reply to: [Easy Load More] Duplicate PostsI have tried implementing a few different iterations of that pagination code in various manners and no matter what I do I get duplicate posts.
@ctor I ran into a similar issue where my variable products had no button i was able to fix by adding the following code into my content-product.php override template. I added around line 51. You may need to tinker with the php some to get it how you want but this is the gist of it.
Edit – it isn’t a ‘Add to cart’ button, only a link to product but better than no button 🙂
<?php global $product; include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // $product->is_type( $type ) checks the product type, string/array $type ( 'simple', 'grouped', 'variable', 'external' ), returns boolean if ( $product->is_type( 'variable' ) && is_plugin_active( 'woo-min-max-quantity-limit/woo-min-max-quantity.php' ) ) { // Output the custom button linked to the product echo '<div style="margin-bottom:10px;"> <a class="button custom-button" href="' . esc_attr( $product->get_permalink() ) . '">' . __('View product') . '</a> </div>'; } ?>- This reply was modified 7 years, 8 months ago by ionz149.
Forum: Themes and Templates
In reply to: [Atomic Blocks] Does not work with custom postDid you find a solution for this?
Forum: Plugins
In reply to: [Gutenberg] Where are Audio/Video Playlists?Okay, thank you. That is the github page I speak of.
For now I have been able to use shortcode block and add:
[playlist ids="123,456,789"]
this does require you to know your file id’s but is a decent enough workaround till it’s sorted
Forum: Fixing WordPress
In reply to: WordPress 2.8 Can’t expand Custom Fields or Author paneI would suggest turning off plugins until it begins working again (it took me a second)
I turned off the plugin “WordPress Gallery Slideshow” and my custom fields act as they should.
Forum: Fixing WordPress
In reply to: WordPress 2.8 Can’t expand Custom Fields or Author paneI also have this problem on both 2.8 and 2.7…
The oddest part being if they’re open I can’t click them shut and if they’re closed I can’t click them to open
Took a look at Uberdose FAQ and the answer was there:
My paged index pages are not showing any meta tags.
This is on purpose to avoid semi-duplicate content (your index pages are not your homepage so they shouldn’t use the same meta tags). It might change in the future.… I think
I am also having this exact same problem. I am using the latest versions of plugin and wordpress.
Forum: Everything else WordPress
In reply to: When a blogger is satisfied..I’m in the same boat as whooami (sort of…) my dad died last June and all I manage to blog about these days is whiskey. Really weak reviews of whiskey at that.
Just do what you do for you.