Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

mantis

Privileged
  • Joined

  • Last visited

Solutions

  1. mantis's post in Anchor links to a another part of another page in Wordpress was marked as the answer   
    This should work :
    <a href="index.php?page_id=10#class"> change '10' to the id of your about page.
  2. mantis's post in A part static header was marked as the answer   
    This one should work for you. It specifically deals with navigation but should work with just about anything.
    http://www.hongkiat.com/blog/css-sticky-position/
  3. mantis's post in Problem with form submission on Firefox was marked as the answer   
    Well, I found the problem. There was a cookie that was set on one of my browsers but not on the other. Thanks to everyone who looked.
  4. mantis's post in Site won't load in Firefox was marked as the answer   
    Turned out it was a cacheing problem. Fixed it by adding
     
    <?php echo date('Y-m-d H:i:s'); ?> as a url parameter after the stylesheet. (tip from Jack)
  5. mantis's post in Wrapping posts in tags correctly was marked as the answer   
    I'm guessing it has something to do with this :
    <li class="event-info"> <?php the_excerpt(); ?> </li> </ul> </li> <?php endwhile; ?> It looks like you have a stray closing li in there. If I were you I would check the source code in Firefox and see if there isn't anything in red. Or use a code editor or plugin or something. It can get a bit confusing when you are outputting html with php.
  6. mantis's post in repeatable select boxes was marked as the answer   
    In case anyone is curious:
     
    Turns out my javascript needed fixing. I was cloning the field and not incrementing it correctly. Also I had
     
    $meta == $item->ID ? ' selected="selected"' :
     
    instead of $row == $item->ID ? ' selected="selected"' :
  7. mantis's post in why is this returning an array? was marked as the answer   
    Actually, it was because I used the same variable $meta further down in the code and defined it as an array
     
    Thank you to whoever tried to help.
  8. mantis's post in Associating a custom post type with a custom (user) taxonomy was marked as the answer   
    Got it! I'll post it in case anyone else has the same type of question:
    $pagename = get_the_title(); $user_query= new WP_User_Query( array( 'meta_key' => 'tm-name', 'meta_value' => $pagename ) ); // User Loop if ( ! empty( $user_query->results ) ) { foreach ( $user_query->results as $user ) { echo '<p>' . $user->display_name . '</p>'; } } else { echo 'No users found.'; } ?> I've actually decided to do it differently but happy to have solved this particular problem.


  9. mantis's post in Device Screenshots was marked as the answer   
    This one is my favourite: http://ami.responsivedesign.is/
  10. mantis's post in A little help enqueuing scripts? was marked as the answer   
    Got it! (I think, or at least its closer)
     
    function load_custom_wp_admin_style() { wp_enqueue_script('jquery-ui-datepicker'); wp_enqueue_script('jquery-ui-slider'); wp_register_style( 'custom_wp_admin_css', get_template_directory_uri() . '/css/jquery-ui-custom.css', false, '1.0.0' ); wp_enqueue_style( 'custom_wp_admin_css' ); } add_action( 'admin_enqueue_scripts', 'load_custom_wp_admin_style' ); The jquery-ui-datepicker and jquery-ui-slider don't need to be registered as they are already part of the core.
     
     
    Gladly! I hate unresolved issues.
    If anyone else has a better solution I'm all ears.
  11. mantis's post in help! SQL foreign key problem was marked as the answer   
    It turns out the problem was that my candidats table already had film ids entered as "0" so it couldn't allow auto incrementation as three objects at 0 were already entered. Anyway its working now

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.