Posts

Showing posts with the label Blog Hubl

RSS Listing converted into Vertical Thumb Slider

Image
HUBL CODE ================================================ <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/> <script type="text/javascript" src="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script> <div class="vertical_slider_group slider slider-for">   {% if module.rss_feed_type == "external" %}   {% set feed_source = "{is_external=True, rss_url='"~module.rss_url~"', content_group_id=''}" %}   {% set is_external = true %}   {% elif module.rss_feed_type == "blog" %}   {% set feed_source = "{is_external=False, content_group_id='" ~ module.content_group_id ~ "', rss_url=''}" %}   {% set is_external = false %}   {% endif %}     {% rss_listing     publish_date_text="{{ module.publish_date_text }}",     rs...

JOB SEEKERS || hubdb with Load more and search

Image
{% set tableId = 966966 %} {% set dynamic_page_hubdb_table_id = 966966 %} {% if dynamic_page_hubdb_row %} <!--- Post Page Code start ---> <div class="job-seeker-post-page-group">   <div class="custom-job-left-container">     <div class="jod-heading">       <h1 class="job-description">Job Description</h1>       <div class="custom-btn-share-container">         <div class="share-outlets clearfix">           <a class="mail" target="_blank" href="mailto:?subject={{dynamic_page_hubdb_row.hs_name}}&amp;body=Check out this {{dynamic_page_hubdb_row.hs_name}} job: {{ content.absolute_url }}" class="product_share_email"><i class="ss-mail"></i></a>           <a class="twitter" target="_blank" href="https://twitter.com/share?url={{ content.absolute_url }}"  class...

HubDb Filter

<div class="row-fluid">    {% set types = hubdb_table_column(847400, "tag").options %}   <ul class="tag_list resources-tags">     <li value="all"><a href="javascript:void(0)">All</a></li>     {% for choice in types %}       {% set tag_list = tag_list~choice.id|list%}       {% if choice.id == request.query_dict.tag%}         <li><a href="#{{ choice.id }}">{{ choice.name }}</a></li>       {% else %}     <li><a href="#{{ choice.id }}">{{ choice.name }}</a></li>       {% endif %}     {% endfor %}   </ul> </div> https://prnt.sc/k7bpr6

Numbered Pagination

                            <!-- Numbered Pagination --> <div class="blog-pagination">     {% set page_list = [-2, -1, 0, 1, 2] %}     {% if contents.total_page_count - current_page_num == 1 %}{% set offset = -1 %}     {% elif contents.total_page_count - current_page_num == 0 %}{% set offset = -2 %}     {% elif current_page_num == 2 %}{% set offset = 1 %}     {% elif current_page_num == 1 %}{% set offset = 2 %}     {% else %}{% set offset = 0 %}{% endif %}     <div class="blog-pagination-left">         {% if last_page_num %}<a class="prev-link" href="{{ blog_page_link(last_page_num) }}">❮</a>{% endif %}         {% if contents.total_page_count > 5 %}             {% if current_page_num >= 4 %}           ...

Related Posts Module

                          {% if content.topic_list %}   <h3>Related posts</h3>   {% set max_posts = 4 %}{# Set the max number of related posts to be output to the page here #}   {% set post_list = [] %}   {% for topic in content.topic_list %}     {% set post_list = post_list + blog_recent_topic_posts('default', topic.slug, max_posts + 1 ) %}     {% if loop.last %}       {% set post_list = post_list|sort(true, false, 'publish_date')|unique('name') %}       {% set i = 0 %}       {% for post in post_list %}         {% if content.absolute_url != post.absolute_url and i < max_posts %}           <div class="related-post-item">             <div class="related-image"><img src="{{ post.featured_image }}" alt="{{ post.name }}">...