edsoltani
Forum Replies Created
-
Hi doubloesharp,
I have tried the development version. Flexible Content fields are now validated but if you enable Front-End validation it prevents other pages that contain jQuery from loading.
The error is the code below $form.length is not recognised and breaks the page.
<script type="text/javascript"> (function($){ $(document).ready(function(){ if ( $form = $('form.acf-form') && $form.length ){ $form.append('<input type="hidden" name="acf[acf_vf][post_ID]" value="' + acf.o.post_id + '"/>'); $form.append('<input type="hidden" name="acf[acf_vf][frontend]" value="true"/>'); } }); })(jQuery); </script>Kind Regards,
EdHi doubloesharp,
Thanks for the suggestion. I will give this a try. I will keep you posted on the issue.
Kind Regards,
EdSneff: I like your solution better! Thanks for the info
Forum: Themes and Templates
In reply to: Unique latest postGreat! You knew what you were doing, so I’m not surprised. Good Luck with the rest.
Forum: Themes and Templates
In reply to: Unique latest postI’m glad I helped. You are most welcome.
Forum: Themes and Templates
In reply to: Unique latest postSorry I have Updated my post try this, this shows title and content for the latest post and titles of next 10 posts.
<?php // The Query query_posts( 'posts_per_page=1' ); // The Loop while ( have_posts() ) : the_post(); the_title(); the_content(); endwhile; query_posts( 'posts_per_page=10' ); // The Loop while ( have_posts() ) : the_post(); echo '<li>'; the_title(); echo '</li>'; endwhile; ?>Forum: Themes and Templates
In reply to: Unique latest postYou are welcome, it should be fun to figure it out and I hope you do. I would be glad to help with any further questions.
Forum: Themes and Templates
In reply to: Unique latest postThanks for the reminder, if you see I have already deleted the email address. Hope I haven’t done any harm to your business π
Forum: Themes and Templates
In reply to: Unique latest postrespectyoda: thanks for the judgment but I think a poster is when you make profit, I’m offering to help for free. Why not you try to help some others for free instead of complaining about others gratitude π
Forum: Themes and Templates
In reply to: Unique latest postHi,
You seem to have a good knowledge of PHP. There are many ways to do this but one I could think of is that you should have 2 loops one limited to show only one post which is your latest post and the other one to only show the Titles.
Have a look at this: Query Posts
If you need I could have a look at your code and help you more to achieve this goal.
Forum: Fixing WordPress
In reply to: Changed blog URL in Settings>General and can't access my siteHi,
If you do have access to your database! All you need to do is to find a table called options and edit the URL and your are set π
Hi,
If you do have access to your database! All you need to do is to find a table called options and edit the URL and your are set π