Home 게시판 커뮤니티 Q&A 워드프레스 관한 2가지 질문입니다…

3개 답변, 3 voices Last updated by Avatar of codeicodei 8 years, 5 months 전
  • Avatar of 조두조두
    Participant
    @woohyeon92
    #29268

    워드프레스 입문 한지 3일 된… 미천한 학부생입니다..ㅎㅎ;;

    구글링 하다가 찾는 것만으로는 답이 없을거 같아서 고수님들께 물어봅니다…ㅠㅠㅠㅠ

     

    질문 첫 번째 :

    워드프레스의 회원테이블을 다른 회원테이블로 사용 가능한지요???

    질문 두 번째 :

    A, B라는 서버가 두 대가 있습니다.

    A라는 서버는 워드프레스가 깔려서 돌아가면서 서비스 되어 지고 있고 B라는 서버에는 사이트의 mainpage가 서비스 되어 지고 있습니다.

    여기서 B서버의 mainpage 에서 A서버의 워드프레스 게시물 정보를 불러서 쓸 수 있는 방법이 있을까요?? (데이터베이스 직접 접근하는 법 제외…)

    Avatar of Matthew ParkMatthew Park
    Moderator
    @hackya
    #29273

    첫번째 질문:

    가능합니다. 플러그인도 존재합니다.

    https://wordpress.org/plugins/custom-database-tables/

    두번째 질문:

    front-end 에서 가능합니다. 방법은

    CORS 활성화 시키시고 ajax 하시던가,

    CORS 활성화가 번거스러우시면 jsonp 하시면 됩니다.

    (아래 링크에 상세설명 + 예제를 참조하세요)

    http://dev.housetrip.com/2014/04/17/unleash-your-ajax-requests-with-cors/

    Avatar of Matthew Park
    Attorney, front-end developer, digital media artist, WordPress enthusiast, & a father of 4 wonderful children.

    Lives in Colorado.

    Avatar of 조두조두
    Participant
    @woohyeon92
    #29274

    답변 감사합니다!!!!

    Avatar of codeicodei
    Participant
    @codei
    #29277

    그거 상황에 따라서는 정보보호법 위반이 될수 있으니, 잘 알아보세요.

4 글 보임 - 1에서 4 까지 (총 4 중에서)
  • 답변은 로그인 후 가능합니다.