Forum Replies Created

Viewing 15 replies - 16 through 30 (of 46 total)
  • Thread Starter srmahmud2

    (@srmahmud2)

    Great to hear that

    Thread Starter srmahmud2

    (@srmahmud2)

    Hey!

    Thanks for not taking hardly. Yeah pictures tells a thousands words.

    And thanks for the key words WP_Query, This might very possible with AJAX Search, with on click JavaScript in the meta box of course!

    Thank you again!

    Thread Starter srmahmud2

    (@srmahmud2)

    – Search and links for internal content only. Not any SERP.
    Okay here’s a screenshot of the feature.
    – So is there any function or class built in to use.
    – how to develop such in the metabox?

    Thread Starter srmahmud2

    (@srmahmud2)

    Hey thanks for your quick reply. My bad, yet couldn’t make you understand.

    Well let’s take any page form https://www.Wikipedia.org. every article/page has some links at the bottom as reference link. Has both internal and external links.

    – Default Search and link button is in side the post. But I am trying to output this link at bottom of the post in multiple

    • and drop-downs.
    • After searching(my domain only, not any search engine result page) and seeing the tile I already know what it is about, I will click on that link to add it to the list.

      I already have built a metabox where user only paste a tittle and an url. It will now show at the bottom of the post, if necessary as drop-down else just normal list of links. But here I am repeating myself. Copy and pasting internal links and title. Whereas we could use the the WP builtin Search and Link button function.(if I would only know :()

      Therefore, for any internal link I would like to use the default search and link button behavior in my metabox. so that I don’t have go back forth to create some links.

      Wish that helps anyone whose reading this understands What I am trying build.

    Thread Starter srmahmud2

    (@srmahmud2)

    Thanks @bcworkz

    – Yes my question is about any self hosted www.remarpro.com.

    – That link is detail explanations what I am trying develop. Self hosted www.remarpro.com has the same link button and behavior in dashboard.

    – Nope I did not mean something like “pages group”.
    – only admin will be posting visitor can visit only.
    – I know a lot of things can be done through metabox.

    Hence I would like to know

    How to create a “Search and link” button in the meta box? to help admins to create multiple internal or external links in the associated post.

    Thread Starter srmahmud2

    (@srmahmud2)

    Place holder and title has taken care of.

    A screenshot of the form I am trying to achieve.

    here’s the default code output by CMB2

    <div class="inside cmb-td cmb-nested cmb-field-list">
        <div class="cmb-row cmb-type-text-medium cmb2-id--co-lorem-loremGroup-id-0--co-lorem-loremTitle cmb-repeat-group-field">
            <strong><div class="cmb-td"></strong>
                <label for="_co_lorem_loremGroup_id_0__co_lorem_loremTitle" style="display:none;">lorem Title</label>
                <input type="text" placeholder="lorem Title" value="" id="_co_lorem_loremGroup_id_0__co_lorem_loremTitle" name="_co_lorem_loremGroup_id[0][_co_lorem_loremTitle]" class="cmb2-text-medium">
            </div>
        </div>
        <div class="cmb-row cmb-type-text-url cmb2-id--co-lorem-loremGroup-id-0--co-lorem-loremURL cmb-repeat-group-field table-layout">
            <strong><div class="cmb-td"></strong>
                <label for="_co_lorem_loremGroup_id_0__co_lorem_loremURL" style="display:none;">lorem Link</label>
                <input type="text" placeholder="lorem Link" value="" id="_co_lorem_loremGroup_id_0__co_lorem_loremURL" name="_co_lorem_loremGroup_id[0][_co_lorem_loremURL]" class="cmb2-text-url cmb2-text-medium regular-text">
            </div>
        </div>
        <div class="cmb-row cmb-remove-field-row">
            <div class="cmb-remove-row">	<a href="#" class="button cmb-shift-rows move-up alignleft"><span class="dashicons dashicons-arrow-up-alt2"></span></a>  <a href="#" class="button cmb-shift-rows move-down alignleft"><span class="dashicons dashicons-arrow-down-alt2"></span></a>
                <button class="button cmb-remove-group-row alignright" data-selector="_co_lorem_loremGroup_id_repeat" disabled="disabled">Remove this lorem</button>
            </div>
        </div>
    </div>

    And here what I want both cmb-td div in the samae cmb-row

    <div class="inside cmb-td cmb-nested cmb-field-list">
        <div class="cmb-row cmb-type-text-medium cmb2-id--co-lorem-loremGroup-id-0--co-lorem-loremTitle cmb-repeat-group-field">
            <div class="cmb-td">
                <label for="_co_lorem_loremGroup_id_0__co_lorem_loremTitle" style="display:none;">lorem Title</label>
                <input type="text" placeholder="lorem Title" value="" id="_co_lorem_loremGroup_id_0__co_lorem_loremTitle" name="_co_lorem_loremGroup_id[0][_co_lorem_loremTitle]" class="cmb2-text-medium">
            </div>
    		<div class="cmb-td">
                <label for="_co_lorem_loremGroup_id_0__co_lorem_loremURL" style="display:none;">lorem Link</label>
                <input type="text" placeholder="lorem Link" value="" id="_co_lorem_loremGroup_id_0__co_lorem_loremURL" name="_co_lorem_loremGroup_id[0][_co_lorem_loremURL]" class="cmb2-text-url cmb2-text-medium regular-text">
            </div>
        </div>
        <div class="cmb-row cmb-remove-field-row">
            <div class="cmb-remove-row">	<a href="#" class="button cmb-shift-rows move-up alignleft"><span class="dashicons dashicons-arrow-up-alt2"></span></a>  <a href="#" class="button cmb-shift-rows move-down alignleft"><span class="dashicons dashicons-arrow-down-alt2"></span></a>
                <button class="button cmb-remove-group-row alignright" data-selector="_co_lorem_loremGroup_id_repeat" disabled="disabled">Remove this lorem</button>
            </div>
        </div>
    </div>

    Thanks for you prompt reply.

    any one who comes later please follow this thread hear how to float left text-fields one another and adding placeholder instead of label.

    Hi esmi,

    Thanks for remindere. I was a little confuse should comment here or where. Never mind mean I have resolved one of my issue.

    Will post the rest as prescribed.

    Regards.

    Hi there,

    I am here having difficulty to load my custom css after the default cmb2-style.css

    <link rel='stylesheet' id='cmb2-override-css'  href='https://localhost/.../cmb2-style.css?ver=4.3.1' type='text/css' media='all' />
    <link rel='stylesheet' id='cmb2-styles-css'  href='https://localhost/..

    Here’s what my functions look like

    function load_custom_wp_admin_style() {
            wp_register_style( 'cmb2-override', get_template_directory_uri() . '/admin/cmb2-style.css');
            wp_enqueue_style( 'cmb2-override' );
    }
    add_action( 'admin_enqueue_scripts', 'load_custom_wp_admin_style' );

    By the way, if I would like to load the custom-style only when there are cmb2 custom fields which page should I target?

    Thanks!

    Yes, that’s what exactly I want too.

    I have created a 2 step form with Contact Form 7 Multi-Step Forms plugin.

    What happens now is like, Flamingo collects 2 different message with default [your-name] <[your-email]> no matter what name or email are.

    well is there any can help us out?

    So is there a way to choose from which form to collect or not?

    I have specified the browser cache policy for css and js to expire 31536000 seconds.

    but Google page speed testes shows to it’s only 3seconds and suggesting to increase leverage browser cache time.

    How to Remove render-blocking JavaScript ?

    pagespeed is suggesting to minify a js which is already from the cache/minify folder; how can i resolved this issue.

    here’s test result link if you would like to see.

    I had submitted this issue here.

    Thread Starter srmahmud2

    (@srmahmud2)

    Hi again,

    took a bit long to decide. starting from disable all the plugins to theme then reactivate one by one. With the Twenty Thirteen theme it did not broke. then again it’s not breaking the lay out in the current with Jetpack’s tiled gallery as well. The difference is if I add a description in media it breaks the lay out. without any description it remains intact.

    Well I think should learn how to use a description properly in a theme in the latest WP version. got any suggestion?

    Thank you for all your supports.

    Thread Starter srmahmud2

    (@srmahmud2)

    This code

    function no_photon_by_page() {
      if ( is_page( 2 ) ) {
        add_filter( 'jetpack_photon_skip_image', '__return_true');
      }
    }
    
    add_action('wp', 'no_photon_by_page');

    Should work from child theme’s function.php, shouldn’t it? but yet my home page isn’t showing the images.

    seems to modify the WordPress Core gallery feature.

    so which js is responsible for that?

    You do not need to configure anything

    I think I should not enable WP Super Cache as in this screenshot since photon does not provide caching other files like js or css. am I right?

    Thread Starter srmahmud2

    (@srmahmud2)

    Sorry! My Bad! ?? Here’s the the link now. link https://khetkhamaar.info/test-gallery/

    Thread Starter srmahmud2

    (@srmahmud2)

    Hi,

    Thank you so much for such a quick response. What I dis is minified couple of those jetpack js file, but I didn’t edit any code inside; since google page speed tester was recommending those file to be minified. I already have deactivated and deleted and reinstalled from WP admin panel. which did not repaired the post.

    1. its the which is ok with thumbnail gallery: https://khetkhamaar.info/%e0%a6%86%e0%a6%ae%e0%a6%b0%e0%a6%be-%e0%a6%95%e0%a6%9c%e0%a6%a8/

    2. it’s the which has broken the lay out: https://khetkhamaar.info/?p=10894&preview=true

    if its’ ok to ask couple of other jetpack related questions here.

    1. After activating Photon my post, category and tag archive are showing featured image but not the home pages. What CDN info of photon I should use to configure in WP super cache.
    2. what to do with all the js and stylesheet to rank high in google page speed.

    Thank you in advance.

Viewing 15 replies - 16 through 30 (of 46 total)