bolide
Forum Replies Created
-
Don
I am no expert, but I would stay on 1.6.5 until 2.1 is released. When 2.1 is released, have a look at it and see if it meets your needs
2.04 is very different to 1.6.5 and works in a different way. Events are now Custom Posts, not ordinary posts as in 1.6.5, so the way you use it in 1.6.5 is not easily replicated in 2.04. It may be easier for you in 2.1, it may not
Nick Froome
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] Change date to HijriSee my thread about date formats here:
https://www.ads-software.com/support/topic/plugin-the-events-calendar-formatting-dates-in-upcoming-events-list-viewNick Froome
To answer my own question, edit a copy of list.php as below and place it in /events in your theme folder or theme child folder if you are using a child theme
‘<h4 class=”event-day”><?php echo tribe_get_start_date( null, false, ‘your-PHP-date-formatting-tags-here’); ?></h4>’
(lines 32 and 35 in my list.php)
Replace ‘your-PHP-date-formatting-tags-here’ with ‘l, jS F Y’, etc. Find the formatting tags via Googling for PHP Date()
Nick Froome
Forum: Plugins
In reply to: [Plugin: The Events Calendar] remove the word category from URLYou can use the Redirection plugin to do this. I use it to point /category/events/ to /events/
Nick Froome
Read the (very sparse) instructions on Alex Rabe’s Nextgen website about template=caption
You add the captions in the Manage Gallery edit page. The template=caption call then shows the caption according to the template you use or edit
You will very likely need to edit the template to display what you want
Captions don’t show in slideshow mode and the code for a slideshow is in a .js file. The PHP for all the other views (gallery, album, imagebrowser, etc) are in WordPress > WP-Content > Plugins > Netxtgen-Gallery > View
If you want to create a custom template follow Alex’s instructions
Forum: Plugins
In reply to: NextGen Gallery With Gallery TemplateYou need to look at the CSS Clear property to see how the elements are floating. You have that element floating right. Clear the float and it should sit underneath
And /or look at how columns are created in CSS and remove the code in the template that is creating the second column
https://www.w3schools.com/cssref/pr_class_clear.asp
The css determines what floats where but the template will sets up teh divs and columns to make it all work. So you have to edit the template
The timer is on the Gallery > Options page in WordPress Dashboard under the Slideshow tab
Nick Froome
Forum: Hacks
In reply to: PHP syntax help wantedEric
Many thanks for that. I understand the idea but had no idea how to do that. I imagine $shortcode_parameter is the string variable, you set it up and then execute it using do_shortcode($shortcode_parameter)
Very neat. I think I’ll look into PHP a bit more as, once you have the right direction, it’s not too tough
OK, this PHP outputs the gallery code but doesn’t parse it to show the gallery
<?php echo'[slideshow id='; $key="--nggalleryid"; echo get_post_meta($post->ID, $key, true); echo ' w=785 h=521]'; ?>
This outputs
[slideshow id=1 w=785 h=521]
– that code, in a page or post, brings up a NGG gallery but my code is showing the shortcode, not parsing itForum: Plugins
In reply to: [Plugin: The Events Calendar] Event URLs redirect to main siteSolved this one: it appears to have been a Safari caching problem
Forum: Plugins
In reply to: [Meteor Slides] Meteor Slides integration with PortfoliumMany thanks for this help. I realise CSS issues with other people’s themes are not your concern
I have a basic layout up & running and will be implementing it soon
There is a Firebug-like option in Safari which has been very useful to me and that, combined with BBEdit, has allowed to to be a bit more confident & productive in CSS
Thanks again
Forum: Plugins
In reply to: [Meteor Slides] Meteor Slides integration with PortfoliumOK, I understand the principle. I can create a custom single-portfolio-meteor.php template, put it in my Child Theme folder and create a new Portfolio post based on that template. I thought I could select templates in the post editor but it seems I can’t. That’s OK, I can substitute my new template, call it single-portfolio.php and use that exclusively
The template pulls the data into the following CSS:
<div class="container clear">
<div class="content">
<div id="show">
I can see the relevant CSS in style.css and meteor-slides.css. I just don’t have the knowledge of CSS to work out what is going on
I could do this when websites were built in tables. But how the heck do you edit CSS??
Thanks for your help. I think I may give up on this one
Code:
To answer my own question, edit the post and use the HTML editor to enter the following:<a class="shutterset_set_8 title="Image_Title" href="https://yourblogURL/wordpress/wp-content/gallery/gallery_name/image_id.jpg">Text_Link</a>
This will link to the image “image_id”, with a description “Image_Title” from gallery “gallery_name”
On clicking the link the image will float above the page as it does in a gallery
I want to do exactly the same thing – can anyone help?
Thanks