IT Blog

  • Blog
  • Technology
    • Technology
    • Architecture
    • CMS
    • CRM
    • Web
    • DotNET
    • Python
    • Database
    • BI
    • Program Language
  • Users
    • Login
    • Register
    • Forgot Password?
  • ENEN
    • 中文中文
    • ENEN
Experience IT
In a World of Technology, People Make the Difference.
  1. Home
  2. Technology
  3. Web
  4. JavaScript
  5. Moving elements around with jQuery

Moving elements around with jQuery

2018-12-19 909 Views 0 Like 0 Comments

WordPress paging line is under 'related sites', not right below the article contents. To move it up with two steps:

  • Wrap the line right below the article, in this example is "page view counter", "pvc_stats" class.
  • Prepend paging element ".page-links" to the wrapper.

See the code below:

$(document).ready(function(){
  $('.pvc_stats').wrap('<div class="page-link-wrapper"></div>');
  $('.page-links').prependTo($('.page-link-wrapper'));
});

move-paging-line-up

Loading

error
fb-share-icon
Tweet
fb-share-icon
IT Team
Author: IT Team

Tags: Note
Last updated:2018-12-19

IT Team

This person is lazy and left nothing

Like
< Previous
Next >

Comments

Cancel reply
Newest Hotspots Random
Newest Hotspots Random
Rich editor not working Making web page scroll down automatically Getting data from Dapper result All Unicode Chars How to keep and display contact form 7 data Common Regular Expressions
Scientific format problem Automation report and validating WordPress EventCalendar visibility Restrict WordPress user access some contents PHP 7.2 issue - count() Add ALT attribute to Social Media Icon
Categories
  • Architecture
  • BI
  • C#
  • CSS
  • Database
  • DotNET
  • Hosting
  • HTML
  • JavaScript
  • PHP
  • Program Language
  • Python
  • Security
  • SEO
  • Technology
  • Web
  • Wordpress

COPYRIGHT © 2021 Hostlike IT Blog. All rights reserved.

This site is supported by Hostlike.com