{"id":1550,"date":"2026-02-03T22:24:05","date_gmt":"2026-02-03T22:24:05","guid":{"rendered":"https:\/\/samirmoustakim.com\/?page_id=1550"},"modified":"2026-02-03T22:29:39","modified_gmt":"2026-02-03T22:29:39","slug":"social-caption-generator","status":"publish","type":"page","link":"https:\/\/samirmoustakim.com\/ar\/social-caption-generator\/","title":{"rendered":"Social Caption Generator"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1550\" class=\"elementor elementor-1550\">\n\t\t\t\t<div class=\"elementor-element elementor-element-22e7dd6 e-flex e-con-boxed e-con e-parent\" data-id=\"22e7dd6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-af11d1d elementor-widget elementor-widget-html\" data-id=\"af11d1d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n<meta charset=\"UTF-8\">\r\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n<title>Social Caption Generator<\/title>\r\n<style>\r\n  \/* ====== Global Styles ====== *\/\r\n  @import url('https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@400;600&display=swap');\r\n  body {\r\n    font-family: 'Inter', Calibri, sans-serif;\r\n    background: #F8F9FA;\r\n    margin: 0;\r\n    padding: 0;\r\n    color: #343A40;\r\n  }\r\n  .samir-tool {\r\n    max-width: 700px;\r\n    margin: 40px auto;\r\n    background: #FFFFFF;\r\n    border-radius: 12px;\r\n    box-shadow: 0 4px 16px rgba(0,0,0,0.05);\r\n    padding: 30px;\r\n  }\r\n\r\n  \/* ====== Title & Description ====== *\/\r\n  .samir-tool h1 {\r\n    font-size: 28px;\r\n    margin-bottom: 10px;\r\n    color: #0D6EFD;\r\n  }\r\n  .samir-tool p.description {\r\n    font-size: 16px;\r\n    margin-bottom: 25px;\r\n    color: #6C757D;\r\n  }\r\n\r\n  \/* ====== Form ====== *\/\r\n  .samir-tool .tool-box {\r\n    display: flex;\r\n    flex-direction: column;\r\n    gap: 15px;\r\n    margin-bottom: 20px;\r\n  }\r\n  .samir-tool input, .samir-tool select {\r\n    height: 48px;\r\n    line-height: 48px;\r\n    padding: 0 14px;\r\n    font-size: 15px;\r\n    border: 1px solid #CED4DA;\r\n    border-radius: 6px;\r\n    width: 100%;\r\n    box-sizing: border-box;\r\n  }\r\n\r\n  \/* ====== Generate Button ====== *\/\r\n  .samir-tool button.generate-btn {\r\n    background: #0D6EFD;\r\n    color: #FFFFFF;\r\n    border: none;\r\n    border-radius: 6px;\r\n    font-size: 16px;\r\n    height: 48px;\r\n    cursor: pointer;\r\n    width: 100%;\r\n    transition: background 0.3s;\r\n  }\r\n  .samir-tool button.generate-btn:hover {\r\n    background: #095CD6;\r\n  }\r\n\r\n  \/* ====== Output ====== *\/\r\n  .samir-tool .output-box {\r\n    margin-top: 20px;\r\n    background: #F1F3F5;\r\n    border-radius: 8px;\r\n    padding: 15px;\r\n    min-height: 60px;\r\n    position: relative;\r\n  }\r\n  .samir-tool .output-box p {\r\n    margin: 0;\r\n    word-wrap: break-word;\r\n  }\r\n  .samir-tool .copy-btn {\r\n    position: absolute;\r\n    top: 10px;\r\n    right: 10px;\r\n    background: #20C997;\r\n    border: none;\r\n    border-radius: 4px;\r\n    color: #FFFFFF;\r\n    padding: 6px 10px;\r\n    cursor: pointer;\r\n    font-size: 14px;\r\n    transition: background 0.3s;\r\n  }\r\n  .samir-tool .copy-btn:hover {\r\n    background: #17A589;\r\n  }\r\n  .samir-tool .copied-msg {\r\n    color: #20C997;\r\n    font-size: 14px;\r\n    margin-top: 5px;\r\n    display: none;\r\n  }\r\n\r\n  \/* ====== Promotional Banner ====== *\/\r\n  .samir-tool .promo-banner {\r\n    background: #E9ECEF;\r\n    border-left: 4px solid #0D6EFD;\r\n    padding: 15px;\r\n    border-radius: 6px;\r\n    margin: 25px 0;\r\n    display: flex;\r\n    justify-content: space-between;\r\n    align-items: center;\r\n    font-size: 15px;\r\n  }\r\n  .samir-tool .promo-banner a {\r\n    background: #0D6EFD;\r\n    color: #FFFFFF;\r\n    text-decoration: none;\r\n    padding: 8px 14px;\r\n    border-radius: 6px;\r\n    font-weight: 600;\r\n    transition: background 0.3s;\r\n  }\r\n  .samir-tool .promo-banner a:hover {\r\n    background: #095CD6;\r\n  }\r\n\r\n  \/* ====== SEO Section ====== *\/\r\n  .samir-tool .seo-section h2 {\r\n    font-size: 20px;\r\n    margin-top: 30px;\r\n    color: #0D6EFD;\r\n  }\r\n  .samir-tool .seo-section ul, .samir-tool .seo-section li {\r\n    margin: 0;\r\n    padding-left: 20px;\r\n    color: #6C757D;\r\n    font-size: 15px;\r\n  }\r\n\r\n  \/* ====== Related Tools ====== *\/\r\n  .samir-tool .related-tools a {\r\n    display: inline-block;\r\n    margin-right: 15px;\r\n    margin-top: 10px;\r\n    color: #0D6EFD;\r\n    text-decoration: none;\r\n  }\r\n  .samir-tool .related-tools a:hover {\r\n    text-decoration: underline;\r\n  }\r\n\r\n  \/* ====== Responsive ====== *\/\r\n  @media (max-width: 600px) {\r\n    .samir-tool {\r\n      padding: 20px;\r\n    }\r\n  }\r\n<\/style>\r\n<\/head>\r\n<body>\r\n\r\n<div class=\"samir-tool\">\r\n  <!-- Title -->\r\n  <h1>Social Caption Generator<\/h1>\r\n  <p class=\"description\">Struggling to write engaging social media captions? Generate ready-to-use captions in seconds!<\/p>\r\n\r\n  <!-- Tool Inputs -->\r\n  <div class=\"tool-box\">\r\n    <select id=\"platform\">\r\n      <option value=\"\" disabled selected>Select Platform<\/option>\r\n      <option value=\"Instagram\">Instagram<\/option>\r\n      <option value=\"Facebook\">Facebook<\/option>\r\n      <option value=\"LinkedIn\">LinkedIn<\/option>\r\n      <option value=\"Twitter\">Twitter<\/option>\r\n    <\/select>\r\n\r\n    <select id=\"goal\">\r\n      <option value=\"\" disabled selected>Select Content Goal<\/option>\r\n      <option value=\"Promote Product\">Promote Product<\/option>\r\n      <option value=\"Engage Audience\">Engage Audience<\/option>\r\n      <option value=\"Share Tips\">Share Tips<\/option>\r\n      <option value=\"Motivate\">Motivate<\/option>\r\n    <\/select>\r\n  <\/div>\r\n\r\n  <!-- Generate Button -->\r\n  <button class=\"generate-btn\" onclick=\"generateCaption()\">Generate Caption<\/button>\r\n\r\n  <!-- Output Box -->\r\n  <div class=\"output-box\">\r\n    <p id=\"captionOutput\">Your caption will appear here...<\/p>\r\n    <button class=\"copy-btn\" onclick=\"copyCaption()\">Copy<\/button>\r\n  <\/div>\r\n  <p class=\"copied-msg\" id=\"copiedMsg\">Copied \u2713<\/p>\r\n\r\n  <!-- Promotional Banner -->\r\n  <div class=\"promo-banner\">\r\n    <span>Boost your social media with our premium templates!<\/span>\r\n    <a href=\"https:\/\/samirmoustakim.com\/shop\/\" target=\"_blank\">Visit Shop<\/a>\r\n  <\/div>\r\n\r\n  <!-- SEO Section -->\r\n  <div class=\"seo-section\">\r\n    <h2>How to Use<\/h2>\r\n    <ul>\r\n      <li>Select your social media platform.<\/li>\r\n      <li>Choose the content goal for your post.<\/li>\r\n      <li>Click \"Generate Caption\" to get a ready-to-use caption.<\/li>\r\n      <li>Copy and post directly to your social accounts.<\/li>\r\n    <\/ul>\r\n\r\n    <h2>FAQ<\/h2>\r\n    <ul>\r\n      <li><strong>Can I use the captions for commercial purposes?<\/strong> Yes, all generated captions are free to use for your business or personal posts.<\/li>\r\n      <li><strong>Are captions customizable?<\/strong> Absolutely, you can edit them before posting.<\/li>\r\n      <li><strong>Does it support all social media platforms?<\/strong> Currently, we support Instagram, Facebook, LinkedIn, and Twitter.<\/li>\r\n    <\/ul>\r\n  <\/div>\r\n\r\n  <!-- Related Tools -->\r\n  <div class=\"related-tools\">\r\n    <h2>Related Tools:<\/h2>\r\n    <a href=\"#\">Hashtag Generator<\/a>\r\n    <a href=\"#\">Bio Optimizer<\/a>\r\n    <a href=\"#\">Post Scheduler<\/a>\r\n  <\/div>\r\n<\/div>\r\n\r\n<script>\r\n\/* ===========================\r\n   SOCIAL CAPTION GENERATOR JS\r\n=========================== *\/\r\n\r\n\/\/ Caption templates\r\nconst captions = {\r\n  Instagram: {\r\n    \"Promote Product\": [\r\n      \"Check out our latest product! \u2728 #NewArrival #ShopNow\",\r\n      \"Your must-have for this season is here! \ud83d\udca5 #Trending #LimitedEdition\"\r\n    ],\r\n    \"Engage Audience\": [\r\n      \"Tell us your favorite way to use this! \ud83d\udcdd #YourOpinionMatters\",\r\n      \"We love hearing from you! Drop a comment below \ud83d\udc47 #Community\"\r\n    ],\r\n    \"Share Tips\": [\r\n      \"Pro tip: Here's how to get the best results! \ud83d\udca1 #Tips #HowTo\",\r\n      \"Did you know this hack? Save it for later! \ud83d\udd16 #LifeHacks\"\r\n    ],\r\n    \"Motivate\": [\r\n      \"Believe in yourself and all that you are! \ud83d\udcaa #MotivationMonday\",\r\n      \"Dream big, work hard, stay focused! \ud83d\ude80 #Inspiration\"\r\n    ]\r\n  },\r\n  Facebook: {\r\n    \"Promote Product\": [\r\n      \"Discover our newest product and level up your style! \ud83c\udf1f\",\r\n      \"Exciting news! Our latest product is live now. Check it out!\"\r\n    ],\r\n    \"Engage Audience\": [\r\n      \"We want to hear from you! Share your thoughts below.\",\r\n      \"What's your experience with our products? Let us know!\"\r\n    ],\r\n    \"Share Tips\": [\r\n      \"Quick tip to make your day easier: Try this simple trick!\",\r\n      \"Here's a tip you don\u2019t want to miss! #LifeHack\"\r\n    ],\r\n    \"Motivate\": [\r\n      \"Start your day with positive vibes! \ud83c\udf1e\",\r\n      \"Keep pushing forward, success is near! \ud83d\udcbc\"\r\n    ]\r\n  },\r\n  LinkedIn: {\r\n    \"Promote Product\": [\r\n      \"Introducing our latest solution to boost your productivity. #BusinessGrowth\",\r\n      \"Our new product is designed to streamline your workflow. Learn more!\"\r\n    ],\r\n    \"Engage Audience\": [\r\n      \"We value your professional insights. Share your thoughts!\",\r\n      \"Join the conversation: How do you tackle this challenge at work?\"\r\n    ],\r\n    \"Share Tips\": [\r\n      \"Boost your career with this practical tip: Stay consistent.\",\r\n      \"Pro tip for professionals: Networking is key! #CareerGrowth\"\r\n    ],\r\n    \"Motivate\": [\r\n      \"Lead with vision, inspire with action. #Leadership\",\r\n      \"Success comes from perseverance and dedication. Keep going!\"\r\n    ]\r\n  },\r\n  Twitter: {\r\n    \"Promote Product\": [\r\n      \"New product drop! Don\u2019t miss out. #LaunchDay #ShopNow\",\r\n      \"Hot off the press: Our latest product is here! \ud83d\udd25 #NewProduct\"\r\n    ],\r\n    \"Engage Audience\": [\r\n      \"What's your take on this? Tweet us your thoughts! #Engage\",\r\n      \"We want to hear from you! #Poll #Feedback\"\r\n    ],\r\n    \"Share Tips\": [\r\n      \"Quick tip: Maximize productivity in 5 steps! #LifeHacks\",\r\n      \"Here's a small tip that makes a big difference! #ProTips\"\r\n    ],\r\n    \"Motivate\": [\r\n      \"Chase your goals relentlessly! \ud83d\udcaa #Motivation\",\r\n      \"Keep striving, the best is yet to come. #Inspiration\"\r\n    ]\r\n  }\r\n};\r\n\r\n\/\/ Generate caption function\r\nfunction generateCaption() {\r\n  const platform = document.getElementById('platform').value;\r\n  const goal = document.getElementById('goal').value;\r\n  const output = document.getElementById('captionOutput');\r\n  const copiedMsg = document.getElementById('copiedMsg');\r\n  \r\n  copiedMsg.style.display = 'none'; \/\/ hide copied message\r\n\r\n  if(!platform || !goal){\r\n    output.textContent = \"Please select both platform and content goal.\";\r\n    return;\r\n  }\r\n\r\n  const options = captions[platform][goal];\r\n  const randomIndex = Math.floor(Math.random() * options.length);\r\n  const caption = options[randomIndex];\r\n\r\n  output.textContent = caption;\r\n}\r\n\r\n\/\/ Copy to clipboard\r\nfunction copyCaption(){\r\n  const caption = document.getElementById('captionOutput').textContent;\r\n  if(!caption || caption === \"Your caption will appear here...\" || caption.includes(\"Please select\")) return;\r\n\r\n  navigator.clipboard.writeText(caption).then(()=>{\r\n    const copiedMsg = document.getElementById('copiedMsg');\r\n    copiedMsg.style.display = 'block';\r\n    setTimeout(()=>{copiedMsg.style.display='none'},2000);\r\n  });\r\n}\r\n\r\n\/* ====== HOW TO REUSE ======\r\n  - To add new platforms: Add a new key in the 'captions' object\r\n  - To add new goals: Add a new key inside each platform\r\n  - To add new captions: Push into the array of the goal\r\n  - The structure works for any text generation tool following platform->goal->array structure\r\n*\/\r\n<\/script>\r\n\r\n<\/body>\r\n<\/html>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Social Caption Generator Social Caption Generator Struggling to write engaging social media captions? Generate ready-to-use captions in seconds! Select PlatformInstagramFacebookLinkedInTwitter [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-1550","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/samirmoustakim.com\/ar\/wp-json\/wp\/v2\/pages\/1550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samirmoustakim.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/samirmoustakim.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/samirmoustakim.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samirmoustakim.com\/ar\/wp-json\/wp\/v2\/comments?post=1550"}],"version-history":[{"count":5,"href":"https:\/\/samirmoustakim.com\/ar\/wp-json\/wp\/v2\/pages\/1550\/revisions"}],"predecessor-version":[{"id":1555,"href":"https:\/\/samirmoustakim.com\/ar\/wp-json\/wp\/v2\/pages\/1550\/revisions\/1555"}],"wp:attachment":[{"href":"https:\/\/samirmoustakim.com\/ar\/wp-json\/wp\/v2\/media?parent=1550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}