franklin82
Forum Replies Created
-
Forum: Plugins
In reply to: [ACF Recent Posts Widget] Hook to show future postsForum: Plugins
In reply to: [ACF Recent Posts Widget] Hook to show future postsHey @gicolek,
Does the ACF field output need to be in ‘Ymd’ format or can this be changed to ‘F j, Y’. In the test you’ve done the date is showing correctly but for me it displays a date like ‘20190523’ which isn’t very friendly.
Thanks
Forum: Plugins
In reply to: [ACF Recent Posts Widget] Hook to show future postsHey @gicolek thanks for that, I’ll give a go.
Do I need to need that code in shown on the last image anywhere, if so where should that be?
Thanks!
MichaelForum: Plugins
In reply to: [ACF Recent Posts Widget] Hook to show future postsForum: Plugins
In reply to: [ACF Recent Posts Widget] Hook to show future postsHi @gicolek,
That should be in the first link included above or do you mean from somewhere else?
Thanks,
MichaelForum: Plugins
In reply to: [ACF Recent Posts Widget] Hook to show future postsHi @gicolek,
No problems – thanks for coming back to me, screenshots of the setup for you.
I did also change the acfrpw/loop-inner.php (line 61) to the below to include the event-date field.
<?php endif; ?> <a href="<?php the_permalink(); ?>" rel="bookmark"> <span class="date meta-item"><?php the_field( 'event-date' ); ?></span> <h3 class="acf-rpw-title"><?php get_the_title() ? the_title() : the_ID(); ?></h3></a>
Let me know if you need anything else.
Thanks!
Forum: Plugins
In reply to: [ACF Recent Posts Widget] Hook to show future postsIt has helped but but it’s just the order of those posts now, not sure how would be best to do it.
No rush on this, this would be the icing on the cake ??
Forum: Plugins
In reply to: [ACF Recent Posts Widget] Hook to show future postsHi @gicolek,
What i’m looking to do is show any post based on my custom field ‘event-date’ and if the date is greater than todays date shows them in ASC order.
Hope that makes more sense.
Thanks!
MichaelForum: Plugins
In reply to: [ACF Recent Posts Widget] Custom Template locationHi @gicolek,
Thanks for confirming, got it working now, I had kept the templates sub-directory which is why it wasn’t working.
Thanks!
MichaelThis looks like a good fix but I’m getting some errors on the js when I try to minify it. Have you got an update to the code?
Forum: Plugins
In reply to: [AMP] AMP for specific category postsThanks I don’t have a function for the free content its all based at a category level. Can the filter work on categories. And if it was applied to a parent category would that then work on child categories?
Thanks!
Forum: Plugins
In reply to: [WP Pipes] Change output URLThanks Rolling Stone – looks like that will do the job nicely. Will check it out
Forum: Plugins
In reply to: [WP RSS Multi Importer] Image links (feed to posts_Many thanks!
Forum: Plugins
In reply to: [WP RSS Multi Importer] Image links (feed to posts_Hi Allen,
Thanks for that, I’ve found the closing for the image but I can’t see where it opens. I’m a php newbie so I might need a bit of guidance.
thanks!
Figured it out now this is the style I’ve used:
#mc_signup_form {background:#ffffff; border: 1px solid #CDCDCD; padding:10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;} #mc_signup_form .mc_input {display: block; width:98%; padding:4px 0; text-indent:2%;} #mc_signup .button {background-color: #aaa; border: 0 none; border-radius:4px; color: #FFFFFF; cursor: pointer; font-size:15px; font-weight: bold; height: 32px; line-height: 32px; margin: 20px 5px 10px 0; padding: 0 22px; text-align: center; text-decoration: none; vertical-align: top; white-space: nowrap; width: auto;} #mc_signup .button:hover {background-color:#FDA401;} #mc-indicates-required {font-style:italic;}
Form can be seen here: https://amindia2012.automotiveworld.com/