jhdean
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Assistant] Displaying text above the gallery, mla_headingThis is the gallery shortcode I am trying.
[mla_gallery columns=1 mla_search_fields=title s="{+page_title+}" tag="primary" link="none" size=large mla_caption="{+template:({+description+})+}" mla_markup="detail-page" my_gallery_title="{+page_title+}"]
Forum: Plugins
In reply to: [Media Library Assistant] Displaying text above the gallery, mla_headingHi David,
I have been using a markup template to display the page title as you helped me to do earlier. I have been trying to figure out how to display the image description after the page title and before the gallery but everything I try fails.
Can you please help with this?
Here is the contents of my Open section:
<h3>[+page_title+]</h3> <div id='[+selector+]' class='gallery galleryid-[+id+] gallery-columns-[+columns+] gallery-size-[+size_class+]'>
Thanks,
JeffResolved:
When trying to authenticate, I was logged into my Google webmaster tools account but had not yet set up a Google analytics account. As soon as I set up the analytics account, authentication the Yoast plugin worked as it was meant to.
Jeff
I too installed the latest version and can go through the authentication process, copy and paste the code and save and still get the notice that I need to authenticate and to “Please configure your Google Analytics settings!”
Jeff
Forum: Plugins
In reply to: [Media Library Assistant] MLA galleries and SEOThanks for the explanation and for looking into the Yoast filter.
Are pages like: https://fairtradejudaica.org/product/small-hamsa-sun-catcher/ and
https://fairtradejudaica.org/product_category/menorahs/ using MLA galleries to display images and content?I noticed that text from them shows in google searches.
Jeff
Forum: Plugins
In reply to: [Media Library Assistant] MLA galleries and SEOHere is a link to an article on the Yoast site about integrating their content analysis with plugin shortcodes.
Forum: Fixing WordPress
In reply to: Anchor links don't work in "Mobile" modeI set up a menu using links instead of pages in the appearance/menu page. The link is for example #architectural. On the page where I want to use it, I made a full width section with a full width menu and selected the new navigation menu I created.
In a Divi text module I put in normal text editing mode, not the visual editing mode. When you switch to visual it should show as a small anchor symbol.
Forum: Plugins
In reply to: [Media Library Assistant] Displaying text above the gallery, mla_headingSuper.
Thanks,
JeffForum: Plugins
In reply to: [Media Library Assistant] Displaying text above the gallery, mla_headingThanks David,
That works great.
Jeff
Forum: Plugins
In reply to: [Media Library Assistant] Displaying text above the gallery, mla_headingI saved the template and with this shortcode I get text before the gallery as desired. The text is “Default Gallery Template” which I left in the template. I want to display the page_title. Do I need to code
my_gallery_title="{+page_title+}"
it differently to work with the markup template?[mla_gallery columns=1 mla_search_fields=title s="{+page_title+}" tag="primary" mla_caption=" <h2>{+template:({+iptc:object-name+})+}</h2> {+template:({+description+}|{+caption+})+}" link="none" size=large mla_markup="display_gallery_heading" my_gallery_title="{+page_title+}"]
Thanks,
JeffForum: Plugins
In reply to: [Media Library Assistant] EXIF/Template Value editingIt is in the Title field. I am doing it there because I need to display the link in the FooBox lightbox and Title is the only choice that works among the choices it offers.
The rule details are:
Field Title: Title
IPTC value: None
EXIF/Template Value: template:( [+iptc:2#005+] )
Priority: EXIF
Existing Text: ReplaceThanks,
JeffForum: Plugins
In reply to: [Media Library Assistant] EXIF/Template Value editingHi David,
The IPTC 2#103 was something I was using as a carrier for an already converted image title. I populated it in Lightroom with the lowercase and hyphenated Title. With that I was able to test the mapping rule which proved to work.
So now I am trying to use the filter() function to convert the Title on the fly as the images are imported in order to save the extra work in Lightroom. Thus, I don’t intend to continue using IPTC 2#103 if I can get the php to do the job.
The intent is to pull the Title from IPTC 2#005 and convert it to hyphenated lowercase to be used in the URL with the actual Title used in-between the <a tags.
template:( <a id="detail-title" target="blank" href="https://www.jhdstaging.jeffreyhdean.com/portfolio/ [+ ****THE RESULT OF THE PHP FUNCTION GOES HERE**** +] /"> [+iptc:2#005+] </a>)
My simplified sense of how this would work is:
1. The mapping rules evaluate the image data.
2. The php function converts the Title.
3 The result is passed into the mapping rule template.
4. The data is written to the fields.
Is this anywhere close to what happens? I am rather confused about how it can work as it seems the php function has to be run simultaneously with the template.Thank you for your generous support,
JeffForum: Plugins
In reply to: [Media Library Assistant] EXIF/Template Value editingThe truncation and lack of the use of the right arrow to navigate beyond it is manifesting on my Mac using Chrome, Firefox and Safari.
I’m trying to decide whether modifying the mla-mapping-hooks-example.php file is over my head or not. I found reference to the php srtrolower( ) function and added that.
$new_title = strtolower(str_replace( array( ' '), '-', $old_value ));
So if the mla_mapping_updates_filter( ) function is called after the mapping rules are evaluated and before the fields are updated, how do I get the $new_title value into the template in place of “[+iptc:2#103+] ” if the template has already been evaluated during the initial mapping rule evaluation?
Jeff
Forum: Plugins
In reply to: [Media Library Assistant] EXIF/Template Value editingThe truncation and lack of the use of the right arrow to navigate beyond it is manifesting on my Mac using Chrome, Firefox and Safari.
I’ll check the other topic for ways to manipulate the data. Thanks for the great plugin.
Jeff
Forum: Plugins
In reply to: [Media Library Assistant] EXIF/Template Value editingAlso,
I didn’t see it in the documentation. Is there way to change the case of what is being mapped and do a search and replace as well.
I want to convert “File Name” to “file-name”.
I am doing this in Lightroom with a Keyboard Maestro script but it requires another step and using another IPTC field.
Thanks,
Jeff