dougallwrennmaxwell
Forum Replies Created
-
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Category Listing display optionsI gave you the wrong access level. Now you are admin.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Category Listing display optionsHi Greg,
I sent the details on your forum to have a look if you like.
Let me know if you find anything
My email is dougall at wrenmaxwell.com.au
DougallForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Category Listing display optionsThanks for that I should have looked a little closer at what I purchased.
I do have an issue though,
I have two categories.
Aircraft Parts $5
Aircraft $30
After I have entered the details of the aircraft I have added, down the bottom I get to select between Parts or aircraft and if I select part I only pay $5 for an aircraft listing. Is there any possible way to have only the cost for the relevant category showing?
see screenshot at https://rain.dog/multiple.jpgForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Category Listing display optionsHi Greg, Hopefully this is the last change
When I have two different categories, the final payment option allows us to select either payment, ie for plane listing and parts listing.
Is it possible to just show the payment for each category. ie. Plane listing $30 and parts listing $5 for when its a part? Just not both options when its either category
https://www.aircraft4sale.com.au/payment.pngForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Category Listing display optionsHi Greg, unfortunately the following gives an error. Any clues what could be wrong?
Dougall<?php if( has_term( “aircraft_for_sale”, “advert_category”, get_the_ID() ): ?>
<b>Location: </b>
<?php echo esc_html( get_post_meta( get_the_ID(), “adverts_location”, true ) ) ?>
</br>
<b>Engine Make: </b>
<?php echo esc_html( get_post_meta( get_the_ID(), “custom_field_engine_make”, true ) ) ?>
</br>
<b>Engine Hrs:</b>
<?php echo esc_html( get_post_meta( get_the_ID(), “custom_field_Engine_hours”, true ) ) ?>
</br>
<b>Fuel Litres/hr:</b>
<?php echo esc_html( get_post_meta( get_the_ID(), “custom_field_litres_per_hour”, true ) ) ?>
</br>
<b>Engine size:</b>
<?php echo esc_html( get_post_meta( get_the_ID(), “custom_field_engine_size”, true ) ) ?>
</br>
<b>Prop Hours:</b>
<?php echo esc_html( get_post_meta( get_the_ID(), “custom_field_prop_hours”, true ) ) ?>
</br>
<b>Frame TT:</b>
<?php echo esc_html( get_post_meta( get_the_ID(), “custom_field_frame_tt”, true ) ) ?>
</br>
<b>Year:</b>
<?php echo esc_html( get_post_meta( get_the_ID(), “custom_field_years”, true ) ) ?>
</br>
<b>Next Annual due date:</b>
<?php echo esc_html( get_post_meta( get_the_ID(), “custom_field_due_date”, true ) ) ?>
<?php endif; ?>Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Category Listing display optionsWhat I am trying to do is get the category and if it is “aircraft_for_sale” show the custom fields . I am just not sure what to make the if statement
Here is what I have<div style="padding-left:10px; font-size:14px;"> <?php $advert_category = get_the_terms( $post_id, 'advert_category' ) ?> <?php /*echo $advert_category*/ ?> <b>Location: </b> <?php echo esc_html( get_post_meta( get_the_ID(), "adverts_location", true ) ) ?>
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Category Listing display optionsIdeally, it would be great if the custom fields had a checkbox to show a custom field in the brief listing. What effort would this take to implement? In the meantime, the above question could be solved if we place it in an if category = planes then show the custom fields. Just not sure how to do that
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Category Listing display optionsThank works great.
Say I wanted to do this for only one category
i.e.<b>Manufacturer:</b> <?php echo esc_html( get_post_meta( get_the_ID(), "custom_field_71", true ) ) ?> </br> <b>Engine Hrs:</b> <?php echo esc_html( get_post_meta( get_the_ID(), "custom_field_Engine_hours", true ) ) ?>