التصنيف: دعم عام
التصنيف: دعم عام
  • مكون إضافي يقوم تلقائيًا بوضع النص من ltr إلى rtl
  • إضافة schema سكيما للصورة البارزة itemprop
  • الالوان في ستايل اضافة News-Ticker-Benaceur لا تعمل

مكون إضافي يقوم تلقائيًا بوضع النص من ltr إلى rtl

هل هناك مكون إضافي يقوم تلقائيًا بوضع النص من ltr إلى rtl مثل نص twitter !؟؟
ps84uuug9m |29 نوفمبر 2024 |1

إضافة schema سكيما للصورة البارزة itemprop

مرحبا أخي ، لقد قمت بتثبيت كود ولاكن أواجه مشكلةإنه يعمل بشكل جيد هنا[ر...
mansor2020 |24 ديسمبر 2020 |5

الالوان في ستايل اضافة News-Ticker-Benaceur لا تعمل

مرحبا الالوان في ستايل اضافة News-Ticker-Benaceur لا تعمل و شريط الاخبار معدل ع...
soufien |4 ديسمبر 2020 |3

  • صندوق كاتب المقال بدون إضافة | مجاب

2018/11/27

السلام عليكم
اريد كود صندوق كاتب المقال
حتى اتمكن من اضافة موقعي لاخبار جوجل

مثل هاذا
الرابط
بارك الله فيك


شارك هذا الموضوع على:

رابط الموضوع للنسخ



أضف تعليقك | سجّل دخولك

تعليقاتك في هذا الموضوع تحتاج إلى المراجعة قبل النشر



  1. سيرة
    use_11_aaa
    الذاتية
    ---------------------------
    السيرة الذاتية للمسجلين في الموقع
  2. use_11_aaa من الوطن العربي ← علّقَ : 28 تعليقا
    زائر

    جرب هذا النموذج:
    ضع التالي في المكان المناسب في single.php حسب قالبك:

    <h4 class="about-the-author">
    نبذة عن الكاتب
     </h4>
    <div class="postauthor-wrap">
     <span itemscope itemprop="image" alt="Photo of <?php the_author_meta( 'display_name' ); ?>">
     <?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '100' ); } ?>
     </span>
    
    <h5 class="vcard author" itemprop="url" rel="author">
     <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" class="fn" itemprop="name">
     <span itemprop="author" itemscope itemtype="https://schema.org/Person">
     <?php the_author_meta( 'display_name' ); ?>
     </span>
     </a>
     <span class="author-aka"> a.k.a
     <span class="author-aka-name">
     <?php echo get_the_author_meta('twitter'); ?>
     </span>
     </span>
     </h5>
    
     <?php the_author_meta('description') ?>
     <span class="post-author-links">
     <?php if (get_the_author_meta('facebook') != ''): ?>
     <a class="author-link f" title="Follow on Facebook" href="<?php echo get_the_author_meta('facebook'); ?>" target="_blank">
     <i class="fa fa-facebook">
     </i>
     </a>
     <?php endif; ?>
     <?php if (get_the_author_meta('twitter') != ''): ?>
     <a class="author-link t" title="Follow on Twitter" href="https://twitter.com/<?php echo get_the_author_meta('twitter'); ?>" target="_blank">
     <i class="fa fa-twitter">
     </i>
     </a>
     <?php endif; ?>
     <?php if (get_the_author_meta('googleplus') != ''): ?>
     <a class="author-link g" title="Follow on Google+" href="<?php echo get_the_author_meta('googleplus'); ?>" target="_blank">
     <i class="fa fa-google-plus">
     </i>
     </a>
     <?php endif; ?>
     </span>
     </div>

    ثم في ملف الستايل style.css أو من لوحة الإدارة:

    .postauthor-wrap{float:left;width:100%;clear:both;padding:30px;background:#fff;box-sizing:border-box;border-radius:2px;-webkit-box-shadow:0 3px 5px 0 rgba(0,1,1,.1);-moz-box-shadow:0 3px 5px 0 rgba(0,1,1,.1);box-shadow:0 3px 5px 0 rgba(0,1,1,.1)}.postauthor-wrap .fn{font-size:24px}.postauthor img{float:right;margin-left:10px;margin-right:0;margin-bottom:20px;border-radius:50%}.author-aka{font-size:16px;text-transform:lowercase;font-weight:400;color:#5e5e5e}.author-aka-name{font-size:17px;text-transform:lowercase;font-weight:400;color:#111}.post-author-links{display:inline-block}a.author-link{background:#c00;color:#fff;width:30px;text-align:center;line-height:1;height:30px;font-size:12px;padding:10px 0;box-sizing:border-box;border-radius:100%;margin:0 7px 0 0;float:left}a.author-link.f{background:#3b5998}a.author-link.t{background:#2DA8D2}a.author-link.w{background:#e64522}

    ثم املأ بيناتك الشخصية في لوحة الإدارة في (تحرير ملفي الشخصي)
    أما اذا اردت ذلك عن طريق الإضافات وهي كثيرة ورائعة:
    https://wordpress.org/plugins/wp-author-box-lite/
    https://wordpress.org/plugins/simple-author-box/



  3. سيرة الذاتية
    ---------------------------
    أقوم بتطوير الووردبريس وكل ما يتعلق به كالإضافات حيث ساهمت بثلاث إضافات من تطويري, ولذلك فموقعي هذا جعلته يهتم بالدرجة الأولى بتطوير ودعم الووردبريس, ثم الأنترنت والمواقع الإلكترونية بصفة عامة ...
  4. BENACEUR ← علّقَ : 281 تعليقا
    إدارة الموقع

    استعمل هذا إن أردت:
    أولا قم بحذف الكود الذي أعطاك إياه الأخ use من ملف single.php وضع التالي في ملف الوظائف functions.php :

    
    add_action( 'the_content', 'ben___author_info_box' );
    function ben___author_info_box( $content ) {
     global $post;
     
    // Detect if it is a single post with a post author
    if ( is_single() && isset( $post->post_author ) ) {
     
    // Get author's display name 
    $display_name = get_the_author_meta( 'display_name', $post->post_author );
     
    // If display name is not available then use nickname as display name
    if ( empty( $display_name ) )
    $display_name = get_the_author_meta( 'nickname', $post->post_author );
     
    // Get author's biographical information or description
    $user_description = get_the_author_meta( 'user_description', $post->post_author );
     
    // Get author's website URL 
    $user_website = get_the_author_meta('url', $post->post_author);
     
    // Get link to the author archive page
    $user_posts = get_author_posts_url( get_the_author_meta( 'ID' , $post->post_author));
      
    if ( ! empty( $display_name ) )
     
    $author_details = '<p class="author_name">نبذة عن ' . $display_name . '</p>';
     
    if ( ! empty( $user_description ) )
    // Author avatar and bio
     
    $author_details .= '<p class="author_details">' . get_avatar( get_the_author_meta('user_email') , 90 ) . nl2br( $user_description ). '</p>';
     
    $author_details .= '<p class="author_links"><a href="'. $user_posts .'">شاهد جميع مقالات ' . $display_name . '</a>';  
     
    // Check if author has a website in their profile
    if ( ! empty( $user_website ) )
     
    // Display author website link
    $author_details .= ' | <a href="' . $user_website .'" target="_blank" rel="nofollow">الموقع</a></p>';
      
    if (get_the_author_meta('facebook', $post->post_author) != '') {
    $facebook = get_the_author_meta('facebook', $post->post_author);	
    $author_details .= '<a class="author-link f" title="Follow on Facebook" href="' . $facebook . '" target="_blank">
     <i class="fa fa-facebook">
     </i>
     </a></p>';
    }
    
    if (get_the_author_meta('twitter', $post->post_author) != '') {
    $twitter = get_the_author_meta('twitter', $post->post_author);	
    $author_details .= '<a class="author-link f" title="Follow on Twitter" href="' . $twitter . '" target="_blank">
     <i class="fa fa-twitter">
     </i>
     </a></p>';
    }
    
    if (get_the_author_meta('googleplus', $post->post_author) != '') {
    $googleplus = get_the_author_meta('googleplus', $post->post_author);	
    $author_details .= '<a class="author-link f" title="Follow on Google+" href="' . $googleplus . '" target="_blank">
     <i class="fa fa-google-plus">
     </i>
     </a></p>';
    }
    
    // Pass all this info to post content  
    $content = $content . '<footer class="author_bio_section" >' . $author_details . '</footer>';
    }
    return $content;
    }

    ثم في الستايل ضع التالي:

    /* authot box */
    .author_bio_section{background:none repeat scroll 0 0 #F5F5F5;padding:15px;margin-bottom:40px;border:1px solid #ccc}
    .author_name{font-size:16px;font-weight:700}
    .author_details img{border:1px solid #D8D8D8;border-radius:50%;float:right;margin:0 10px 10px}
    a.author-link{background:#c00;color:#fff;width:30px;text-align:center;line-height:1;height:30px;font-size:12px;padding:10px 0;box-sizing:border-box;border-radius:100%;margin:0 7px 0 0;float:left}
    a.author-link:hover{color:#cecece}
    a.author-link.f{background:#3b5998}
    a.author-link.t{background:#2DA8D2}
    a.author-link.w{background:#e64522}

    لكن يبقى شيء مهم وهو يجب أن تكون قد أضفت حقول مواقع التواصل الاجتماعي في الملف الشخصي حتى تظهر في معلومات الكاتب, ثانيا يجب أن يكون اسم الحقل input name مطابقا للكود الذي وضعته في ملف الوظائف, فمثلا الفيس بوك يجب أن يكون الاسم input name هو facebook تماما حتى يكون مطابقا ل author_meta أي لهذين السطرين في ملف الوظائف:[code]
    if (get_the_author_meta(‘facebook’, $post->post_author) != ”) {
    $facebook = get_the_author_meta(‘facebook’, $post->post_author);[/code]
    أما الستايل فيمكنك التعديل عليه بما يلائمك وحسب ذوقك.

    انتهى.



  5. بصراحة الكود رائع

    فقط اخي لديا مشكلة انا فعلت ايضا صندوق تعليقات ووردبريس وللاسف يقول لي العليقات مغلقة ولا تظهر
    فهل من مساعدة



  6. سيرة الذاتية
    ---------------------------
    أقوم بتطوير الووردبريس وكل ما يتعلق به كالإضافات حيث ساهمت بثلاث إضافات من تطويري, ولذلك فموقعي هذا جعلته يهتم بالدرجة الأولى بتطوير ودعم الووردبريس, ثم الأنترنت والمواقع الإلكترونية بصفة عامة ...
  7. BENACEUR ← علّقَ : 281 تعليقا
    إدارة الموقع

    أولا قم بتحرير الموضوع ثم أسفل صندوق التحرير تأكد من أن:
    – السماح بالتعليقات
    – السماح بالتعقيبات والتنبيهات
    مفعلان, تأكد أولا من أنهما مفعلان.



  8. السماح للزوار بإدراج التعليقات على المقالات الجديدة. مفعل
    يجب على المعلق كتابة الاسم والبريد الإلكتروني غير مفعل
    نشر تعليق نعم
    إضافة تعليق ينتظر المراجعة نعم
    يجب الموافقة على التعليق يدوياً نعم

    ورغم ذالك تظهر مغلقة



  9. سيرة الذاتية
    ---------------------------
    أقوم بتطوير الووردبريس وكل ما يتعلق به كالإضافات حيث ساهمت بثلاث إضافات من تطويري, ولذلك فموقعي هذا جعلته يهتم بالدرجة الأولى بتطوير ودعم الووردبريس, ثم الأنترنت والمواقع الإلكترونية بصفة عامة ...
  10. BENACEUR ← علّقَ : 281 تعليقا
    إدارة الموقع

    لا, ليس ذلك أنت تقصد لوحة الإدارة -> الإعدادات -> مناقشة
    أنا أقصد: تحرير الموضوع, عندما تدخل إلى الموضوع أسفل عنوان الموضوع تجد كلمة “تحرير” ثم حين تحرر الموضوع أسفل صندوق التحرير مباشرة تأكد من أن:
    – السماح بالتعليقات
    – السماح بالتعقيبات والتنبيهات
    مفعلان, أي تأكد من أن علامة “صح” بجانبهما. كما هو موضح في الصورة التالية:
    الحجم الطبيعي



  11. المشكلة كلها كانت بسبب هذه النقطة جزاك الله كل خير اخي
    فقط هناك سؤال هل في كل مرة اضع موضوع اسمح بذالك ام سوف تنطبق لوحدها على كافة المواضيع



  12. سيرة الذاتية
    ---------------------------
    أقوم بتطوير الووردبريس وكل ما يتعلق به كالإضافات حيث ساهمت بثلاث إضافات من تطويري, ولذلك فموقعي هذا جعلته يهتم بالدرجة الأولى بتطوير ودعم الووردبريس, ثم الأنترنت والمواقع الإلكترونية بصفة عامة ...
  13. BENACEUR ← علّقَ : 281 تعليقا
    إدارة الموقع

    تأكد من وجود هذه الوظيفة في ملف single.php

    <?php comments_template( '', true ); ?>

    ———-
    أما سؤالك هل في كل مرة أحتاج إلى تفعليهما, المفترض أنهما مفعلان مسبقا, ولذلك قم بفتح موضوع جديد دون نشره المهم انظر أسفل صندوق التحرير هل هما مفعلتان أم لا؟



  14. السلام عليكم
    صباح الخيرات اخي الكريم

    الان اشتغل صندوق التعليقات بشكل رائع

    ولاكن وضعت ثلاثة تعليقات منهم تعليق كزائر
    وجميع التعليقات لايظهر اسم صاحب التعليق انا والزائر
    هاهو الموضوع
    [محتوى مخفي]

    + بعدما قمت بتفعيل صندوق التعليقات ظهرت هذه المشكلة لا اعلم ام مشكلة ما
    خط على نسخة الجوال كما في الصورة
    [محتوى مخفي]



  15. سيرة الذاتية
    ---------------------------
    أقوم بتطوير الووردبريس وكل ما يتعلق به كالإضافات حيث ساهمت بثلاث إضافات من تطويري, ولذلك فموقعي هذا جعلته يهتم بالدرجة الأولى بتطوير ودعم الووردبريس, ثم الأنترنت والمواقع الإلكترونية بصفة عامة ...
  16. BENACEUR ← علّقَ : 281 تعليقا
    إدارة الموقع

    حرر ملف functions.php وابحث عن:

    <div class="comment-header">

    وأضف أسفله مباشرة:

    <h4><?php echo get_comment_author_link(); ?></h4>

    ———————
    بالنسبة للخط في نسخة الجوال لا أدري ما سببه.



  17. اخي بالنسبة للخط في نسخة الجوال حين اقوم بحذف صندوق التعليقات يختفي

    + الخط يظهر في التعليقات المفتوحة اما المواضيع التي بها التعليقات مغلقة لايظهر فيها الخط