Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Lucas
tagDiv Member

Oops, nvm. Just found a thread on issue from today: https://forum.tagdiv.com/topic/disable-sidebar-on-mobile-and-tablet/

Thanks again for solid support!!

Lucas
tagDiv Member

I tried something similar earlier, but failed lol.

One last thing… how can I disable sidebars from showing on a mobile screen size? What CSS @media can I use to hide them?

Thank you so much!

Lucas
tagDiv Member

Perfect! Thank you both for help 🙂

Lucas
tagDiv Member

Ok, great, that worked. However, the container did not resize.

Where can I edit that? please see photo: http://i.imgur.com/9ZxhXlw.png

Thank you!

Lucas
tagDiv Member

Excellent, thank you!

Lucas
tagDiv Member

Legend! Got it working. Thanks a bunch!

Lucas
tagDiv Member

This site keeps screwing with the code. Here’s the raw tutorial: http://pastebin.com/Q3Xuzz2K

  • This reply was modified 11 years by Lucas.
Lucas
tagDiv Member

Unfortunately, I originally tried that by editing block 14’s module. That’s how I get the odd timing.

Any other suggestions?

Thanks!

Lucas
tagDiv Member

Hi Lucian

Thanks for the reply. However, I am still a little confused to the actual placement. I am trying to show them after this:

<div class="td-login-panel-title">' . __td("Welcome! Login in to your account") .'</div>

How would I write it after that?

Thanks!

Lucas
tagDiv Member

Blah! Can’t edit above anymore lol…

Create a link around the word you want and include class="td-login-modal-js" href="#login-form" data-effect="mpf-td-login-effect"

Lucas
tagDiv Member

Here’s how I did it:

1.) Create new folder in Newsmag theme directory called ‘bbpress’
2.) Find the form-reply.php file from bbpress plugin files
3.) Copy entire contents of form-reply.php and duplicate the file in the new bbpress directory you just created. Or, you can edit the file directly, but risk losing it if you update bbpress in future
4.) Find: <p><?php is_user_logged_in() ? _e( 'You cannot reply to this topic.', 'bbpress' ) : _e( 'You must be logged in to reply to this topic.', 'bbpress' ); ?></p>
5.) Replace with: <p><?php is_user_logged_in() ? _e( 'You cannot reply to this topic.', 'bbpress' ) : _e( 'You must log in to reply to this topic.', 'bbpress' ); ?></p>

But remove the aterisks * in code. This forum kept making it an actual link despite using code tags around it, odd. This will activate the ajax signin/join modal from within bbpress topic threads. You can apply the same: a class="td-login-modal-js" href="#login-form" data-effect="mpf-td-login-effect" structure to other links throughout your site to activate the modal 🙂

Lucas
tagDiv Member

Please disregard this topic. Close.

Lucas
tagDiv Member

This works properly on the actual post page. However, it does not work in the meta section of the post when being shown via module block.

Any idea why the module would be showing incorrectly? Posts shown through the module from 2014 say ’45 years ago’ lol.

Thanks,

Lucas
tagDiv Member

Ok, so I attempted to use WordPress own variation:

<?php echo human_time_diff( get_the_time(‘U’), current_time(‘timestamp’) ) . ‘ ago’; ?>

In place of the traditional module <?php echo $this->get_date();?> script.

The time ago timestamp gave a very wonky date. An article written today showed it as being ‘2 years ago’, which is obviously incorrect.

Any idea how I could get the time ago functioning on the modules instead of date?

Thanks!

Lucas
tagDiv Member

Nevermind, I figured it out. Seems the block numbering is different than its module, which made me confused lol

Lucas
tagDiv Member

Sorry, I meant block. For example, I wan to edito block 12. Where is this located?

Thanks,

Viewing 16 posts - 1 through 16 (of 16 total)