Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter FROM_ROB

    (@from_rob)

    I dont think its so unusual, as im using the quiz to provide options based on their answers. The options come from a database of hundreds of wordpress posts. The quiz is used to narrow down the results as to which posts are relevant.

    Thread Starter FROM_ROB

    (@from_rob)

    Hmmm, do I understand correctly you are suggesting to make a single URL for every possible route that a user would choose on the quiz?

    If I have 5 questions with 5 different answers, that would be a very very very large amount of individual URL’s to make, just to show the results.

    Thread Starter FROM_ROB

    (@from_rob)

    @prasunsen Thank you for the reply.

    If I redirect to a URL, is it possible to run a query on that page which somehow stores the answers from quiz and uses them to query the posts and display posts that relate to the answers?

    Thread Starter FROM_ROB

    (@from_rob)

    Hi Navneil,

    That is odd to hear, since if I add html into the WP Media Caption and save it, the html is saved and also outputted as html.

    So I imagine there must be a way for the html not to be stripped out.

    Thank you!

    Thread Starter FROM_ROB

    (@from_rob)

    Thanks so much Navneil! This is working great and now it saves correctly in the Photo Gallery Editor and the WP Media caption.

    The only problem, which is quite important, is that when saving the new caption added in the Photo Gallery Editor, it removes any html tags.

    Is it possible to allow it to keep the html tags in the caption added in the Photo Gallery Editor?

    I’m using it for artwork captions and need to use it to be em tags around the title, so they are italic.

    Thanks so much!
    Rob

    Thread Starter FROM_ROB

    (@from_rob)

    Hey Navneil,

    if you are able to help with this last request of the Photo Gallery Editor saving the caption in the WP Media Caption area instead of the WP Media Description area that would be amazing! it’s my last request and the only thing I’m needing to finish the site im working on.

    Thanks so much for your help!
    Rob

    Thread Starter FROM_ROB

    (@from_rob)

    Hey Navneil,

    No trouble, that sounds good, thanks for letting me know. For now its no trouble to worry about implementing the Title, Caption, Alt, Description from the WP Media, since I was planning to split different part of a caption into each, although actually a WYSIWYG would solve that, so I can wait for the future release with that.

    A more urgent matter, going back to your post with the updated file to get the Caption from WP Media in the Photo Gallery Editor…

    wp-content\plugins\acf-photo-gallery-field\fields\acf-photo_gallery-v4.php.

    + in the themes functions.php file.
    add_filter( 'acf_photo_gallery_editbox_caption_from_attachment', '__return_true' );

    This is working completely fine and really well, the only thing that doesn’t work, is if I put text into the Photo Gallery Editor Caption and save it, it actually saves and updates the Description from WP Media, not the Caption in WP Media.

    Is it possible so that if the text in the Photo Gallery Editor caption is saved, it saves also in WP Media Caption instead of WP Media Description?

    This is my last request, then I’ll have everything working the way I need to.

    Thanks so much for your help, it is super appreciated!

    Thread Starter FROM_ROB

    (@from_rob)

    Alternatively, is it possible to display the Caption text area as a wysiwyg editor?

    Something like…

    function acf_photo_gallery_image_fields( $args, $attachment_id, $field){
    	return array(
    		'caption' => array('type' => 'textarea', 'label' => 'Caption (remember to put title in between em tags and separate information with commas)', 'name' => 'caption', 'value' => ($args['caption'])?$args['caption']:null)
    	);
    }

    Although this doesn’t work.

    Thanks so much!

    Thread Starter FROM_ROB

    (@from_rob)

    That is working, thanks so much!

    I have one final request. I would like to also have the Photo Gallery Edit section pull the Title, Caption, Alt, Description from the WP Media–just so everything can easily be updated in the post itself. I thought I could do this by making some small edits to the navz-photo-gallery.php file, although it doesn’t seem to work for the Alt and Description.

    Here is what I tried…

    function acf_photo_gallery_image_fields( $args, $attachment_id, $field){
    	return array(
    		'title' => array('type' => 'text', 'label' => 'Title', 'name' => 'title', 'value' => ($args['title'])?$args['title']:null),
    		'caption' => array('type' => 'textarea', 'label' => 'Caption', 'name' => 'caption', 'value' => ($args['caption'])?$args['caption']:null),
    		'alt' => array('type' => 'textarea', 'label' => 'Alt', 'name' => 'alt', 'value' => ($args['alt'])?$args['alt']:null),
    		'description' => array('type' => 'textarea', 'label' => 'Description', 'name' => 'description', 'value' => ($args['description'])?$args['description']:null)
    	);
    }

    What do you think is the best way to achieve this?
    Thanks so much for your help with this, it is greatly appreciated!

    Thread Starter FROM_ROB

    (@from_rob)

    Thanks for getting back so quickly.

    I think you may have misunderstood my dilemma. The problem is happening in the Post section in the WP Admin. When I click the pencil icon on an image in the Photo Gallery, it opens the Edit box, which displays the the Title and Caption of the image, which is coming from the WP Media section.

    Although, the problem is, in the Photo Gallery Edit window, the part that is titled “Caption” actually shows the “Description” from the WP Media section.

    Is it possible for this to show the actual “Caption” from the WP Media, and not the “Description”?

    Thank you

    Hi Jason, I am also having this problem, although it has worked for me in the past with different websites. Is it possible by what you mean by having a JS issue? Is this something to do with the browser or the JS in the them?

    Thanks!

    Thread Starter FROM_ROB

    (@from_rob)

    Oh – your last post updated to reveal the version you are using.
    I see now that you are using the Legacy version.
    I will give that a shot.

    If you happen to figure out who to do this with the current version please let me know.

    Thank you!

    Thread Starter FROM_ROB

    (@from_rob)

    I think we might be using different versions since I do not have those options when I access the Downloads section in the WordPress Admin Area.
    I am using Download Monitor Version 1.4.2.

    If I click Downloads on the left side of the page, I am taken to a new page where I can add an item to be downloaded.

    And if I hover over Download, the flyout gives me the following options:
    All Downloads
    Add New
    Categories
    Tags
    Logs
    Settings
    Add-Ons

    Inside each of these there still aren’t any sections named Configurations or Custom Output Formats.

    Are you able to let me know which version you are using since there seems to be differences.

    Many thanks for your help!

    Thread Starter FROM_ROB

    (@from_rob)

    Hi lisarae,

    Thank you pointing out how to do this.
    However, I cannot find the folder named Configurations or Custom Output Formats.
    Just to be clear, you are referring to the actual files within the plugin and not using the WordPress admin area when you are logged in?

    Which version of the plugin are you using?

    Thank you for your help!

    Hi Andy,

    Sorry to hear that you family member has been ill, I hope that they are doing better now.
    Good to hear that you will be working on an update that will be out soon.

    I have recently installed Share and Follow and I was hoping that you might be able to help me with one small detail.

    The plugin in is exactly what I needed for my website and at the moment I have the Share links set up as Text Only for Twitter, Email and Facebook showing at the bottom of my posts.

    I was wondering if there is a way that I may be able to only have the text ‘Share’ appear at the bottom of the posts and once clicked it will open a small popup in a new window that displays Twitter, Email and Facebook in a list.

    If you are able to suggest a way to do this it would be greatly appreciated.
    Thank you in advance and I look forward to your reply.
    Rob

Viewing 15 replies - 1 through 15 (of 17 total)