• Resolved rhoi

    (@rhoi)


    I’m using a the_content(); tag to display the content from the text-editor. But I want to hide some contents there and display it on other place of the page. I don’t want to use a custom fields.

    This is what I want to happen.
    I’m building an image gallery by putting the images in the text-editor but I don’t want to display the images by using the_content(); tag. And I also want to get that images and display it in my image gallery, each post have image gallery.

    I think this stuff is possible without using custom fields, coz custom fields can only add 1 image url per value. And using multiple custom fields is not advisable.

    Please help me on this stuff.
    Thanks in Advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Why not put the “other content” in a custom field and then call that in certain places on the page?

    Thread Starter rhoi

    (@rhoi)

    Thanks for that idea. But is it possible to put html and php code in custom field? like this

    <section style="background: url(<?php bloginfo('template_url'); ?>/images/slide1.jpg) 50% 70%  no-repeat ;  width:550px; height:437px;"  data-type="background" data-speed="-2" data-offsetY="-100">
    									<img src="<?php bloginfo('template_url'); ?>/images/slide1.jpg" width="550" height="590" style="display:none;"/>
    									<div class="content">
    											<div class="title">Design Evolution</div>
    											Design Evolution of National Geographic Magazine Covers
    									</div>
    							</section>
    Thread Starter rhoi

    (@rhoi)

    Do you have any solutions that doesn’t need to add a html code. The user is not a coder.

    Thread Starter rhoi

    (@rhoi)

    I found a solution now. I installed a plugin named secondary content plugin. It helps me to solve my problem.

    I’ve created meta boxes for various uses using this plugin which may help you as well

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove specific content in single page’ is closed to new replies.