En18Zone
Forum Replies Created
-
I edited em-events.php and added it to my child theme folder but the link didn’t change. Any guidance is greatly appreciated.
To make it more clear can i use this directly in my child theme functions.php
//get events $events = EM_Events::get(apply_filters('em_widget_events_get_args',$instance)); //output events echo "<ul>"; if ( count($events) > 0 ){ foreach($events as $event){ echo $event->output( $instance['format'] ); } }else{ echo $instance['no_events_text']; } if ( !empty($instance['all_events']) ){ $events_link = (!empty($instance['all_events_text'])) ? em_get_link($instance['all_events_text']) : em_get_link(__('all events','dbem')); echo '<li class="all-events-link">'.get_page_link(40).'</li>'; // Link to my new events page } echo "</ul>"; echo $args['after_widget'];
And below is code im changing
echo '<li class="all-events-link">'.get_page_link(40).'</li>'; // Link to my new events page
- This reply was modified 8 years, 1 month ago by En18Zone.
Hi
Thanks for your reply but im stuck a little. My site is in use already so i fear messing up things so do you think it’s safe to do this?Forum: Plugins
In reply to: [Contact Form 7] Mail not being setUpdate 4.6.1 fixed my problem. Lots of thanks to the plugin author
Forum: Plugins
In reply to: [Contact Form 7] How to chage the size of submit buttonWow you got 90px padding around your button text that’s why its so big. Try this
#post-1324 .wpcf7 input.wpcf7-submit { padding: 10px 20px ; }
Forum: Plugins
In reply to: [Contact Form 7] Mail not being setThanks guys for your responses although my issue seems to be hotmail not liking the server ip adress or something accoarding to my webhost. I will try your suggestions too just incase something works,i’m so desperate to get this working again.
Forum: Plugins
In reply to: [Contact Form 7] CF7 Not Sending All EmailsIt’s not sending any emails for me and it’s getting frustrating. But is it affecting only a few people or have people not realized yet that their contact form is broken?
Unfortunately not,i was hoping problem can be solved without posting here my site url. Can you please give me some possible causes of the top of your head? Thanks !
Forum: Plugins
In reply to: [Flickr Justified Gallery] Error: Can’t Resolve Flickr API?Changing “Flickr API Wrapper Version” to “phpFlickr (alternative version) from inside plugin settings fixed it for me. Give it a try
Forum: Plugins
In reply to: [Flickr Justified Gallery] CURL errorChanging “Flickr API Wrapper Version” to “phpFlickr (alternative version) from inside plugin settings fixed it for me
Forum: Plugins
In reply to: [Simple Hijri Calendar] Fatal error when changing site languageWrong plugin, sorry.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Get all post metaIm trying to display the events through another plugin (forgive my layman language) using this code without the need to query individual metakeys but im not getting any luck.
add_action( 'wpsp_before_content','wpsp_add_custom_meta' ); function wpsp_add_custom_meta() { $meta = get_post_meta( get_the_ID(), '_your_custom_meta_key', true ); if ( isset( $meta ) && '' !== $meta ) echo $meta; }
I think you can do what you want if you go to ” Events > Settings ” and under the first tab, General find “User Capabilities” and give author user ability to publish events.
Do check the documentation for more info https://wp-events-plugin.com/documentation/user-event-guest-submissions/
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Get all post metaSubscribing for email notifications
Forum: Fixing WordPress
In reply to: Images that link to postsDo you have the grid layout part figured out? Making the images on the pages link to specific posts is the easier part i think. You can do this in several ways:
Add this code inside one of your grids
<a href="https://link-to-your-post.com><img src="link-to-your-image.jpg"></a>
replacing the links in the example code.You can also add the image directly into your grid from the Add media option in your editor and change the href=”” part to point to your posts.
See if this is helpful https://en.support.wordpress.com/links/image-links/