Jump To 플러그인

Page Jump

  • Page Jump 플러그인 수정하여 배포합니다. 뭐 내용은 보시는대로.. ^^;
  • 혹시 있을 질문은 이곳 코멘트로 받습니다.
  • 어려운 PHP 코드 수정에 대한 요청은 받기 힘듭니다. 제가 전문 코더가 아니라서. 흑;
  • 원본 (John Godley)이 작동하지 않아서 수정하고, 코드도 좀 새롭게 하고, 이 기능 저 기능 집어 넣었습니다. - 리스트 형태, 셀렉트 박스 형태 등등 / 피드에서는 리스트 형태로 보임

[관련글 그룹 - Plugin ( Source view - Plugin/JumpTo )]

Language : [ Korean ] [ English ]

1. 다운로드

  1. JumpTo 플러그인 0.2

2. 질문 (Help)

3. 설명

  • 워드프레스에서 글을 쓸 때, <!--nextpage--> 라고 쓰면 페이지가 나뉜다. 그리고 페이지 링크가 생긴다. ( 참고: Link Pages )
    • 만약 리치 에디터가 아니라, 플레인 에디터로 쓰고 있는데 page 버튼이 없다면, wp-includes/js/quicktags.js 에서 다음을 찾아 주석을 벗겨주면 된다.

      코드가 생략되었습니다. [Get Code #1-3], [원본글 - Plugin/JumpTo]

  • 그런데 페이지 링크에 제목을 붙여서 셀렉트 박스(혹은 링크 리스트)로 나타나게 할 수 있다. 커스텀 필드를 이용해서…!

4. 사용 방법

  1. JumpTo 플러그인 을 다운받아서 활성화 시킨다. (원본 - John Godley 하지만 실행이 되지 않아서 고쳤다.)
  2. 글을 쓸 때 Custom Fields 부분에서 Key란에는 jumpto 라고 쓰고, Value란에는 페이지 제목을 적는다. 1줄이 1페이지의 주소. ( 예제 이미지 : add a neww custom field 밑의 란에 새로 작성하면 위에 저장된 값들이 나타난다.

5. 파라미터

  • 모두 옵션 페이지에서 처리할 수 있도록 수정하였습니다.

Categories : Wordpress

© GET PMWIKI Plug-in made by kebie

4 Comments

  1. chaoskcuf wrote:

    와우~! 이제 이런거까지 만드는구나.
    오랫만에 와보네~

  2. she wrote:

    ^^; 그냥 취미삼아서 했는데 잘한 건지는 전혀 모르겠네요. 그나저나 먼저 찾아오시게 하니 염치가 없네요. 으휴; 방문 고마워요~

  3. Volker Zimmermann wrote:

    Hi, I really like your work on the jumpto plugin, it is very useful. I have some questions, though:

    1. How do I customize the layout of the "jump to" box that is inserted? I would like to have a layout that is a little more bare-bones.

    2. How do I get rid of the numbers in the Drop-down menu? I'd like to have just the page titles.

    3. Is there any other way to insert the links list than an "OL" list? I would like to have a horizontal layout for that option.

    Thanks in advance!

  4. she wrote:

    hi. thanks^^

    1. Using CSS will be good. but i couldn't catch your exact meaning. ^^;;
    2. remove {$key} : at 127 line
    3. if you can handle CSS, I suggest using UL list and CSS. But following is simple horizontal links list.
      1. find <ol> and replace as <p> at 87 line.
      2. find </ol> and replace as </p> at 133 line.
      3. fine <li'.$current.'><a href="'; and replace as <a'.$current.' href="'; at 111 line.
      4. find $current_check</li> and replace as empty space like &nbsp; at 128 line.
      5. and you can handle style through CSS for example...
        .pagelinks a.current_page {color:red; font-weight:bold;}
        .pagelinks a {color:black;}