Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter inkster

    (@inkster)

    Sorry, it pasted weird, here it is again:

    get_header(); ?>

    <div id=”primary” class=”content-area”>
    <div class=”home__get-a-free-consultion”>
    <span>Get A Free 20 Minute Consultation</span>
    </div> <!– Get a Free Consultion–>
    <div class=”site-portfolio”>
    <main id=”main” class=”site-main area-main” role=”main”>
    <div class=”site-container”>
    <?php while ( have_posts() ) : the_post(); ?>

    <?php get_template_part( ‘content’, ‘page’ ); ?>

    <?php endwhile; // end of the loop. ?>
    </div>
    </main><!– #main –>
    <div class=”secondary”>
    <div class=”categories-posts”>
    <div class=”site-container”>
    <div class=”menu-categories”>

      <li class=”real-estate”><span>Commercial Real Estate</span>
      <li class=”ecommerce-retail”><span>Ecommerce & Retail </span>
      <li class=”automotive-transportation”><span>Automotive & Transportation</span>
      <li class=”hospitality-travel”><span>Hospitality & Travel</span>
      <li class=”established-business”><span>Established Business</span>
      <li class=”entrepreneurs-startups”><span>Entrepreneurs & Startups</span>

    </div>
    </div>
    </div>
    <div class=”area-posts”>
    <div class=”posts-by-category”>
    <div class=”site-container”>

    <div class=”custom-post-real-estate” style=”display:none;”>
    <?php
    $query = new WP_Query( array( ‘post_type’ => ‘commercial-real’, ‘orderby’ => ‘rand’, ‘posts_per_page’ => 3 ) );
    ?>
    <?php if ($query->have_posts() ) :?>
    <?php while( $query->have_posts() ) : $query->the_post(); ?>
    <div class=”post”>
    <div class=”post-thumbnail”>
    “>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-thumbnail-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>

    </div> <!– post-thumbnail –>
    </div> <!– post –>
    <div class=”post-landing” style=”display: none;”>
    <div class=”img-preview”>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-preview-image-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>
    </div>
    <div class=”post-content”>
    <?php the_content(); ?>
    </div> <!– post content –>
    </div> <!– post landing –>
    <?php endwhile; ?>
    <?php wp_reset_postdata(); ?>
    <?php endif; ?>
    </div> <!– custom post –>

    <div class=”custom-post-ecommerce-retail” style=”display:none;”>
    <?php
    $query = new WP_Query( array( ‘post_type’ => ‘ecommerce-retails’, ‘orderby’ => ‘rand’, ‘posts_per_page’ => 3 ) );
    ?>

    <?php if ($query->have_posts() ) :?>
    <?php while( $query->have_posts() ) : $query->the_post(); ?>
    <div class=”post”>
    <div class=”post-thumbnail”>
    “>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-thumbnail-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>

    </div> <!– post-thumbnail –>
    </div> <!– post –>
    <div class=”post-landing” style=”display: none;”>
    <div class=”img-preview”>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-preview-image-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>
    </div>
    <div class=”post-content”>
    <?php the_content(); ?>
    </div> <!– post content –>
    </div> <!– post landing –>
    <?php endwhile; ?>
    <?php wp_reset_postdata(); ?>
    <?php endif; ?>
    </div> <!– custom post ecommerce-retail–>

    <div class=”custom-post-automotive-transportation” style=”display:none;”>
    <?php
    $query = new WP_Query( array( ‘post_type’ => ‘automotive’, ‘orderby’ => ‘rand’, ‘posts_per_page’ => 3 ) );
    ?>

    <?php if ($query->have_posts() ) :?>
    <?php while( $query->have_posts() ) : $query->the_post(); ?>
    <div class=”post”>
    <div class=”post-thumbnail”>
    “>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-thumbnail-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>

    </div> <!– post-thumbnail –>
    </div> <!– post –>
    <div class=”post-landing” style=”display: none;”>
    <div class=”img-preview”>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-preview-image-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>
    </div>
    <div class=”post-content”>
    <?php the_content(); ?>
    </div> <!– post content –>
    </div> <!– post landing –>
    <?php endwhile; ?>
    <?php wp_reset_postdata(); ?>
    <?php endif; ?>
    </div> <!– custom post automotive-transportation–>

    <div class=”custom-post-hospitality-travel” style=”display:none;”>
    <?php
    $query = new WP_Query( array( ‘post_type’ => ‘hospitality-travel’, ‘orderby’ => ‘rand’, ‘posts_per_page’ => 3 ) );
    ?>

    <?php if ($query->have_posts() ) :?>
    <?php while( $query->have_posts() ) : $query->the_post(); ?>
    <div class=”post”>
    <div class=”post-thumbnail”>
    “>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-thumbnail-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>

    </div> <!– post-thumbnail –>
    </div> <!– post –>
    <div class=”post-landing” style=”display: none;”>
    <div class=”img-preview”>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-preview-image-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>
    </div>
    <div class=”post-content”>
    <?php the_content(); ?>
    </div> <!– post content –>
    </div> <!– post landing –>
    <?php endwhile; ?>
    <?php wp_reset_postdata(); ?>
    <?php endif; ?>
    </div> <!– custom post hospitality-travel–>

    <div class=”custom-post-established-business” style=”display:none;”>
    <?php
    $query = new WP_Query( array( ‘post_type’ => ‘established-business’, ‘orderby’ => ‘rand’, ‘posts_per_page’ => 3 ) );
    ?>

    <?php if ($query->have_posts() ) :?>
    <?php while( $query->have_posts() ) : $query->the_post(); ?>
    <div class=”post”>
    <div class=”post-thumbnail”>
    “>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-thumbnail-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>

    </div> <!– post-thumbnail –>
    </div> <!– post –>
    <div class=”post-landing” style=”display: none;”>
    <div class=”img-preview”>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-preview-image-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>
    </div>
    <div class=”post-content”>
    <?php the_content(); ?>
    </div> <!– post content –>
    </div> <!– post landing –>
    <?php endwhile; ?>
    <?php wp_reset_postdata(); ?>
    <?php endif; ?>
    </div> <!– custom post established-business–>

    <div class=”custom-post-entrepreneurs-startups” style=”display:none;”>
    <?php
    $query = new WP_Query( array( ‘post_type’ => ‘entrepreneur-startup’, ‘orderby’ => ‘rand’, ‘posts_per_page’ => 3 ) );
    ?>

    <?php if ($query->have_posts() ) :?>
    <?php while( $query->have_posts() ) : $query->the_post(); ?>
    <div class=”post”>
    <div class=”post-thumbnail”>
    “>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-thumbnail-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>

    </div> <!– post-thumbnail –>
    </div> <!– post –>
    <div class=”post-landing” style=”display: none;”>
    <div class=”img-preview”>
    <?php
    $mykey_values = get_post_custom_values( ‘wpcf-preview-image-post’ );
    foreach( $mykey_values as $key => $value ) { ?>
    “>
    <?php } ?>
    </div>
    <div class=”post-content”>
    <?php the_content(); ?>
    </div> <!– post content –>
    </div> <!– post landing –>
    <?php endwhile; ?>
    <?php wp_reset_postdata(); ?>
    <?php endif; ?>
    </div> <!– custom post entrepreneurs-startups–>

    </div> <!– site container –>
    </div> <!– posts by category –>
    </div> <!– area posts –>
    </div> <!– Secondary –>
    </div> <!– site portfolio –>
    </div><!– #primary –>

    <?php get_footer(); ?>

    Thread Starter inkster

    (@inkster)

    Note: this is the code in the file: Portfolio.php

    
    get_header(); ?>
    
    	<div id="primary" class="content-area">
    		<div class="home__get-a-free-consultion">
    				<span>Get A Free 20 Minute Consultation</span>
    		</div> <!-- Get a Free Consultion-->
    		<div class="site-portfolio">
    			<main id="main" class="site-main area-main" role="main">
    				<div class="site-container">
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php get_template_part( 'content', 'page' ); ?>
    
    				<?php endwhile; // end of the loop. ?>
    				</div>
    			</main><!-- #main -->
    			<div class="secondary">
    				<div class="categories-posts">
    					<div class="site-container">
    						<div class="menu-categories">
    							<ul>
    								<li class="real-estate"><span>Commercial Real Estate</span></li>
    								<li class="ecommerce-retail"><span>Ecommerce & Retail </span></li>
    								<li class="automotive-transportation"><span>Automotive & Transportation</span></li>
    								<li class="hospitality-travel"><span>Hospitality & Travel</span></li>
    								<li class="established-business"><span>Established Business</span></li>
    								<li class="entrepreneurs-startups"><span>Entrepreneurs & Startups</span></li>
    							</ul>
    						</div>
    					</div>
    				</div>
    				<div class="area-posts">
    					<div class="posts-by-category">
    						<div class="site-container">
    
    							<div class="custom-post-real-estate" style="display:none;">
    								<?php
    								$query = new WP_Query( array( 'post_type' => 'commercial-real', 'orderby' => 'rand', 'posts_per_page' => 3 ) );
    								?>
    								<?php if ($query->have_posts() ) :?>
    								<?php while( $query->have_posts() ) : $query->the_post(); ?>
    								<div class="post">
    									<div class="post-thumbnail">
    										<a class="link-post-thumbnail" href="<?php the_permalink(); ?>">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-thumbnail-post' );
    											 foreach( $mykey_values as $key => $value ) { ?>
    												<img src="<?php echo $value ?>">
    										<?php } ?>
    										</a>
    									</div> <!-- post-thumbnail -->
    								</div> <!-- post -->
    								<div class="post-landing" style="display: none;">
    									<div class="img-preview">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-preview-image-post' );
    											foreach( $mykey_values as $key => $value ) { ?>
    													<img src="<?php echo $value ?>">
    											<?php } ?>
    									</div>
    									<div class="post-content">
    										<?php the_content(); ?>
    									</div> <!-- post content -->
    								</div> <!-- post landing -->
    								<?php endwhile; ?>
    								<?php wp_reset_postdata(); ?>
    							<?php endif; ?>
    							</div> <!-- custom post -->
    
    							<div class="custom-post-ecommerce-retail" style="display:none;">
    								<?php
    								$query = new WP_Query( array( 'post_type' => 'ecommerce-retails', 'orderby' => 'rand', 'posts_per_page' => 3 ) );
    								?>
    
    								<?php if ($query->have_posts() ) :?>
    								<?php while( $query->have_posts() ) : $query->the_post(); ?>
    								<div class="post">
    									<div class="post-thumbnail">
    										<a class="link-post-thumbnail" href="<?php the_permalink(); ?>">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-thumbnail-post' );
    											 foreach( $mykey_values as $key => $value ) { ?>
    												<img src="<?php echo $value ?>">
    										<?php } ?>
    										</a>
    									</div> <!-- post-thumbnail -->
    								</div> <!-- post -->
    								<div class="post-landing" style="display: none;">
    									<div class="img-preview">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-preview-image-post' );
    											foreach( $mykey_values as $key => $value ) { ?>
    													<img src="<?php echo $value ?>">
    											<?php } ?>
    									</div>
    									<div class="post-content">
    										<?php the_content(); ?>
    									</div> <!-- post content -->
    								</div> <!-- post landing -->
    								<?php endwhile; ?>
    								<?php wp_reset_postdata(); ?>
    							<?php endif; ?>
    							</div> <!-- custom post ecommerce-retail-->
    
    							<div class="custom-post-automotive-transportation" style="display:none;">
    								<?php
    								$query = new WP_Query( array( 'post_type' => 'automotive', 'orderby' => 'rand', 'posts_per_page' => 3 ) );
    								?>
    
    								<?php if ($query->have_posts() ) :?>
    								<?php while( $query->have_posts() ) : $query->the_post(); ?>
    								<div class="post">
    									<div class="post-thumbnail">
    										<a class="link-post-thumbnail" href="<?php the_permalink(); ?>">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-thumbnail-post' );
    											 foreach( $mykey_values as $key => $value ) { ?>
    												<img src="<?php echo $value ?>">
    										<?php } ?>
    										</a>
    									</div> <!-- post-thumbnail -->
    								</div> <!-- post -->
    								<div class="post-landing" style="display: none;">
    									<div class="img-preview">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-preview-image-post' );
    											foreach( $mykey_values as $key => $value ) { ?>
    													<img src="<?php echo $value ?>">
    											<?php } ?>
    									</div>
    									<div class="post-content">
    										<?php the_content(); ?>
    									</div> <!-- post content -->
    								</div> <!-- post landing -->
    								<?php endwhile; ?>
    								<?php wp_reset_postdata(); ?>
    							<?php endif; ?>
    							</div> <!-- custom post automotive-transportation-->
    
    							<div class="custom-post-hospitality-travel" style="display:none;">
    								<?php
    								$query = new WP_Query( array( 'post_type' => 'hospitality-travel', 'orderby' => 'rand', 'posts_per_page' => 3 ) );
    								?>
    
    								<?php if ($query->have_posts() ) :?>
    								<?php while( $query->have_posts() ) : $query->the_post(); ?>
    								<div class="post">
    									<div class="post-thumbnail">
    										<a class="link-post-thumbnail" href="<?php the_permalink(); ?>">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-thumbnail-post' );
    											 foreach( $mykey_values as $key => $value ) { ?>
    												<img src="<?php echo $value ?>">
    										<?php } ?>
    										</a>
    									</div> <!-- post-thumbnail -->
    								</div> <!-- post -->
    								<div class="post-landing" style="display: none;">
    									<div class="img-preview">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-preview-image-post' );
    											foreach( $mykey_values as $key => $value ) { ?>
    													<img src="<?php echo $value ?>">
    											<?php } ?>
    									</div>
    									<div class="post-content">
    										<?php the_content(); ?>
    									</div> <!-- post content -->
    								</div> <!-- post landing -->
    								<?php endwhile; ?>
    								<?php wp_reset_postdata(); ?>
    							<?php endif; ?>
    							</div> <!-- custom post hospitality-travel-->
    
    							<div class="custom-post-established-business" style="display:none;">
    								<?php
    								$query = new WP_Query( array( 'post_type' => 'established-business', 'orderby' => 'rand', 'posts_per_page' => 3 ) );
    								?>
    
    								<?php if ($query->have_posts() ) :?>
    								<?php while( $query->have_posts() ) : $query->the_post(); ?>
    								<div class="post">
    									<div class="post-thumbnail">
    										<a class="link-post-thumbnail" href="<?php the_permalink(); ?>">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-thumbnail-post' );
    											 foreach( $mykey_values as $key => $value ) { ?>
    												<img src="<?php echo $value ?>">
    										<?php } ?>
    										</a>
    									</div> <!-- post-thumbnail -->
    								</div> <!-- post -->
    								<div class="post-landing" style="display: none;">
    									<div class="img-preview">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-preview-image-post' );
    											foreach( $mykey_values as $key => $value ) { ?>
    													<img src="<?php echo $value ?>">
    											<?php } ?>
    									</div>
    									<div class="post-content">
    										<?php the_content(); ?>
    									</div> <!-- post content -->
    								</div> <!-- post landing -->
    								<?php endwhile; ?>
    								<?php wp_reset_postdata(); ?>
    							<?php endif; ?>
    							</div> <!-- custom post established-business-->
    
    							<div class="custom-post-entrepreneurs-startups" style="display:none;">
    								<?php
    								$query = new WP_Query( array( 'post_type' => 'entrepreneur-startup', 'orderby' => 'rand', 'posts_per_page' => 3 ) );
    								?>
    
    								<?php if ($query->have_posts() ) :?>
    								<?php while( $query->have_posts() ) : $query->the_post(); ?>
    								<div class="post">
    									<div class="post-thumbnail">
    										<a class="link-post-thumbnail" href="<?php the_permalink(); ?>">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-thumbnail-post' );
    											 foreach( $mykey_values as $key => $value ) { ?>
    												<img src="<?php echo $value ?>">
    										<?php } ?>
    										</a>
    									</div> <!-- post-thumbnail -->
    								</div> <!-- post -->
    								<div class="post-landing" style="display: none;">
    									<div class="img-preview">
    										<?php
    											$mykey_values = get_post_custom_values( 'wpcf-preview-image-post' );
    											foreach( $mykey_values as $key => $value ) { ?>
    													<img src="<?php echo $value ?>">
    											<?php } ?>
    									</div>
    									<div class="post-content">
    										<?php the_content(); ?>
    									</div> <!-- post content -->
    								</div> <!-- post landing -->
    								<?php endwhile; ?>
    								<?php wp_reset_postdata(); ?>
    							<?php endif; ?>
    							</div> <!-- custom post entrepreneurs-startups-->
    
    						</div> <!-- site container -->
    					</div> <!-- posts by category -->
    				</div> <!-- area posts -->
    			</div> <!-- Secondary -->
    		</div> <!-- site portfolio -->
    	</div><!-- #primary -->
    
    <?php get_footer(); ?>
    
    Thread Starter inkster

    (@inkster)

    Hi, is anyone going to answer??

    Please ignore , I figured it out. Your plugin conflicts with the edit flow plugin. When I deactivated edit flow, it worked.

    Hi,

    I just tried the Debug method, but it’s not working. My issue is that when I upgraded, all the Adminimize page does is show a loading symbol in the tab. I see the top of the Adminimize page, but I can’t scroll down. I am scared to go back to the previous version because I think I will lose all my settings. I am under a critical deadline and could use some help to get this back working. Thanks!

    Thread Starter inkster

    (@inkster)

    UPDATE: For #1:

    I added the following code to get the container to display properly:

    #container {
    clear: both;
    width: 67%;
    margin: auto;
    background: #FFFFFF;
    padding-right: 150px;
    padding-left: 300px;
    border: px solid #AAAAAA;
    float: left;
    margin-left:100px;
    }

    Not sure if this will get the container to always display properly on different devices. But the problem I noticed is that the sidebar is now showing beside the container, but I still do not know how to reduce the size. I added the above code to my style.css file in the child theme.

    Also, I noticed that the frontend.css is not displaying on the vendor page. I assume it’s being overridden by my theme CSS – do you know how I would get your plugin’s CSS to display? Thanks.

    Thread Starter inkster

    (@inkster)

    Also, for #1,

    I will need to move up the display, so that the 3 lines do not spill over the border of the cover photo. Is this a CSS fix?

    And the other question I have for you:

    #3 – on the cover photos, I noticed that bio data spills over the cover photo border – is it possible to limit the number of words that can appear?

Viewing 7 replies - 1 through 7 (of 7 total)