{
    "id": 2110,
    "date": "2024-09-26T16:27:31",
    "date_gmt": "2024-09-26T09:27:31",
    "guid": {
        "rendered": "https:\/\/new.ahha.co.th\/?page_id=2110"
    },
    "modified": "2024-10-16T13:28:49",
    "modified_gmt": "2024-10-16T06:28:49",
    "slug": "wpdm-profile2",
    "status": "publish",
    "type": "page",
    "link": "https:\/\/ahha.co.th\/en\/wpdm-profile2\/",
    "title": {
        "rendered": "Profile2"
    },
    "content": {
        "rendered": "<style>\n    #logo-block img{\n        box-shadow: none;\n        width:128px;\n        height: 128px;\n        border-radius: 500px;\n        background: #ffffff;\n    }\n\n    #wpdm-user-profile{\n        padding-top: 90px;\n    }\n    #wpdm-user-profile .profile-card{\n        border-radius: 5px;\n        color: #333333 !important;\n            background: #eeeeee;\n        }\n    #wpdm-user-profile .store-intro{\n        opacity: 0.7;\n    }\n    #profile-buttons .profile-button{\n        color: #ffffff;\n        background: rgba(0,0,0,0.2);\n        font-size: 12px;\n        letter-spacing: 1px;\n        border-radius: 200px;\n        padding: 5px 15px;\n        margin: 10px 3px;\n        text-decoration: none;\n        transition: all ease-in-out 300ms;\n    }\n    #profile-buttons .profile-button:not(.active):hover{\n        background: rgba(0,0,0,0.5);\n    }\n    #profile-buttons .profile-button.active{\n        background: rgba(0,0,0,0.6);\n    }\n    #wpdm-profile-contents{\n        min-height: 400px;\n    }\n<\/style>\n\n\n<div class=\"w3eden\" id=\"wpdm-user-profile\">\n    <div class=\"row\">\n\n        <div class=\"col-md-12\">\n            <div class=\"profile-card p-4 text-center bg-light\">\n\n                <div class=\"profile-card-inner\">\n\t<div id=\"logo-block\">\n\t\t<img decoding=\"async\" class=\"shop-logo m-0 p-0 box-shadow-none\" id=\"shop-logo\" src=\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\"\/>\n\t<\/div>\n\t<h2 class=\"mt-4 mb-0\" id=\"profile-title\"><\/h2>\n\t\t<div class=\"text-small mb-3\"><\/div>\n\t<div id=\"profile-buttons\" class=\"mt-4\">\n\t\t\t\t\t\t<a class=\"profile-button with-content profile-button-downloads\" data-menu=\"downloads\" id=\"profile-button-downloads\" href=\"#downloads\">\n\t\t\t\t\t<i class=\"fas fa-arrow-alt-circle-down mr-2\"><\/i>Downloads\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<a class=\"profile-button with-content profile-button-favourites\" data-menu=\"favourites\" id=\"profile-button-favourites\" href=\"#favourites\">\n\t\t\t\t\t<i class=\"fas fa-heart mr-2\"><\/i>Favourites\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n<\/div>\n\n            <\/div>\n        <\/div>\n\n    <\/div>\n    <div class=\"row\">\n        <div class=\"col-md-12 pt-4\" id=\"wpdm-profile-contents\">\n\n\n        <\/div>\n    <\/div>\n    <\/div>\n\n<script>\n    jQuery(function ($) {\n        $('.profile-button.with-content').on('click', function () {\n            $('.profile-button').removeClass('active');\n            $(this).addClass('active');\n            var cc = $(this).children('fa').attr('class');\n            $(this).children('fa').removeClass(cc).addClass('fa fa-sun fa-spin');\n            var abtn = $(this);\n            WPDM.blockUI('#wpdm-profile-contents');\n            $.get(wpdm_url.ajax, { action: 'wpdm_get_profile_menu_content', __pu: '0', __pmenu: $(this).data('menu'), __scp: 'dkqod49BHwBC_yx18_2Tt4eCP_RB0_Z46DBZA7L-dwy3IYD5yuNvcJKkac351v72pou4pPPiIiG9XJsThJtSyw'}, function (response) {\n                $('#wpdm-profile-contents').html(response);\n                WPDM.unblockUI('#wpdm-profile-contents');\n                abtn.attr('class', cc);\n            });\n        });\n        $('.profile-button.instant').on('click', function (e) {\n            e.preventDefault();\n            var menu = $(this).data('menu');\n        });\n        var hash = location.hash.substr(1);\n        WPDM.blockUI('#wpdm-profile-contents');\n        $.get(wpdm_url.ajax, { action: 'wpdm_get_profile_menu_content', __pu: '0', __pmenu: (hash ? hash : 'downloads'), __scp: 'dslFWzXOIzQ7Uz7zH7MSTdUCrhZ0STCgWRNQZ6VW2FcCITrCdA2RGkMBwqDruf_FXCbtGwSQuWTEuk5CKkdCMA'}, function (response) {\n            $('#wpdm-profile-contents').html(response);\n            $('#profile-button-'+(hash ? hash : 'downloads')).addClass('active');\n            WPDM.unblockUI('#wpdm-profile-contents');\n        });\n    });\n<\/script>\n\n\n\n\n\n<p><\/p>",
        "protected": false
    },
    "excerpt": {
        "rendered": "",
        "protected": false
    },
    "author": 1,
    "featured_media": 0,
    "parent": 0,
    "menu_order": 0,
    "comment_status": "closed",
    "ping_status": "closed",
    "template": "",
    "meta": {
        "footnotes": ""
    },
    "class_list": [
        "post-2110",
        "page",
        "type-page",
        "status-publish",
        "hentry"
    ],
    "_links": {
        "self": [
            {
                "href": "https:\/\/ahha.co.th\/en\/wp-json\/wp\/v2\/pages\/2110",
                "targetHints": {
                    "allow": [
                        "GET"
                    ]
                }
            }
        ],
        "collection": [
            {
                "href": "https:\/\/ahha.co.th\/en\/wp-json\/wp\/v2\/pages"
            }
        ],
        "about": [
            {
                "href": "https:\/\/ahha.co.th\/en\/wp-json\/wp\/v2\/types\/page"
            }
        ],
        "author": [
            {
                "embeddable": true,
                "href": "https:\/\/ahha.co.th\/en\/wp-json\/wp\/v2\/users\/1"
            }
        ],
        "replies": [
            {
                "embeddable": true,
                "href": "https:\/\/ahha.co.th\/en\/wp-json\/wp\/v2\/comments?post=2110"
            }
        ],
        "version-history": [
            {
                "count": 3,
                "href": "https:\/\/ahha.co.th\/en\/wp-json\/wp\/v2\/pages\/2110\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 2183,
                "href": "https:\/\/ahha.co.th\/en\/wp-json\/wp\/v2\/pages\/2110\/revisions\/2183"
            }
        ],
        "wp:attachment": [
            {
                "href": "https:\/\/ahha.co.th\/en\/wp-json\/wp\/v2\/media?parent=2110"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}