Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Pull request created to handle v4 repeaters.

    https://github.com/BIOSTALL/ACF-Link-Picker-Field/pull/12

    If your template is using “get_sub_field(‘some_label_for_link_content’)”, the value for this is an array. To get the link, you can output like so:

    <?php
    $link_array = get_sub_field('fieldname_for_your_link_content');
    echo array_values($link_array)[0]; // URL
    ?>

    kmessinger, I just stated above that I’m having the same issue. Troubleshooting is often a collaborative process amongst many people having the same problem. Starting new threads for every person having the same issue does not help resolve the issue. If my post was off-topic, that would be a good reason for a new thread.

    dennis2, I just resolved my issue be enabling the json extension in my php.ini file. If you have access to your ini file, look for “;extension=json.so”, remove the semicolon in front, and then try loading the page in WordPress again.

    See this link in the forum: https://www.ads-software.com/support/topic/new-post-page-broken-linksmenu-expansion-in-32

    Other users are having the same problem as you. The buttons in the TinyMCE editor don’t show up. The text in the editor box is white on white. Unable to switch to HTML view or Visual view. Can’t activate the screen options link.

    Actually, I didn’t even realize it until now, these pages are missing the closing script blocks, the closing body tag and the closing html tag.

    Everything after the #footer div is missing.

    I’m having the same issue. My screen looks just like @dennis2’s. I think the Page and Post editing pages are missing some JavaScript. The admin footer scripts link that is loaded on the other pages is missing on these pages.

    Note: on these pages nothing happens when I click the “Howdy, {username}” link and the Screen Options link, whereas on the other pages they drop down or slide open as usual.

    When I open Firebug in Firefox 6 and click the “Fullscreen” button in the visual editor, the console says “fullscreen is not defined.”

    When I click the HTML tab to switch to that editor, the console says “switchEditors is not defined.”

    If you go to the pages where the “Howdy” link and the Screen Options link are working and you look in the footer in the HTML, you’ll see the link to the script loader which contains everything that’s missing from the Page and Post edit pages.

    Thread Starter harrylove

    (@harrylove)

    Got it.

    <?php
    global $wpdb;
    $posts = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'post' ORDER BY post_date DESC");?>
    <?php if (have_posts()) : ?>

    <ul>
    <?php foreach($posts as $post) :
    setup_postdata($post); ?>

    <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a> <small><?php the_time('l, F jS, Y') ?></small></li>
    <?php endforeach; ?>
    </ul>
    <?php endif; ?>

    Forum: Everything else WordPress
    In reply to: $_SESSION

    Has anyone had any luck with this since the last post?

    I’ve noticed that if I point my browser directly at a page’s template.php file vs. accessing the page through mod_rewrite, the session is set.

    So, if I do https://mysite/mypage, the session is not set. But, if I try to access the template file being used by mypage, e.g. https://mysite/wp-content/themes/mysite/mytemplate.php, the session is set.

    That leads me to believe that somewhere in between making the page request and getting redirected silently to the template file for the page, WP or mod_rewrite or Apache is inserting some content or thwarting the session_start().

    Can anyone confirm? Or know what the issue is?

Viewing 7 replies - 1 through 7 (of 7 total)