• Resolved smazzoni

    (@smazzoni)


    Hi, I have a couple questions here.-

    I want to change the text “See this image on” that comes up when I share on Twitter, I’ve found the text under wppa-boxes-html.php. Is there a way to change this text without modifying the script file?

    Also, I’m trying to display the last 3 loaded albums under the keyword “bars” but I can’t find the way of displaying this using shortcodes. Any idea?

    Thank you!

    https://www.ads-software.com/plugins/wp-photo-album-plus/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    “See this image on”

    What do you want it to be?

    under the keyword “bars”

    What is that?

    Thread Starter smazzoni

    (@smazzoni)

    Hi Jacob!

    When I click on the Twitter share button of any photo of WPPA+, I see the message on the pop up saying See this image on [Blog name]. I changed that by modifying the wppa-boxes-html.php file, but I’d like to know if is there a way to do that on settings or templates cause otherwise my change will be deleted on your next update.

    And the second thing, ‘bars’ was an example on this case. I have several albums and some of them are for bars, others for restaurants, etc. I named them Bar 1, Bar 2, etc. I want to display only those with the word ‘bar’. Also, I need the latest 3, I don’t know if there’s some query for this.

    Really love your plugin! Sorry for so many support questions.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    One issue per thread plese.

    “See this image on”

    What do you want it to be?

    What do you want it to be?

    Thread Starter smazzoni

    (@smazzoni)

    I want it to change to “Check my picture on [Blog]”

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    You can make a modified language file to change the translation of this text.

    Assuming your sites native language is en_US ( is default language ), make a copy of …/wp-photo-album-plus/langs/wppa_theme-xx_YY.po and name it wppa_theme-en_US.po

    Download poedit https://poedit.net/ and edit and save wppa_theme-en_US.po.
    Save wppa_theme-en_US.mo – that is created at save time – into …/wp-photo-album-plus/langs/

    You must keep these files as they get lost during update.

    If you have a different language, make your own version of your local languages .mo file likewise.

    Further info is here: https://wppa.opajaap.nl/wppa-tutorial/how-to-translate-wppa/

    Thread Starter smazzoni

    (@smazzoni)

    Thanks Jacob!, and is there a way to retrieve albums with a search term as I mentioned on my second question?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Do the following:

    – Tick Table IX-E7: Indexed search.
    – UNTick Table IX-E6: photos only.
    – Give the albums category bar on the album admin page. They work similar to tags on photos.
    – Run Table VIII-A8 and A9: Remake indexes.

    Use the search photos widget or the searchbox shortcode and search for bar

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change Twitter share message / Show by search result’ is closed to new replies.