DestinyMaker
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to change backgroud of whole pageFor blog post page only? or the post page itself?
Forum: Fixing WordPress
In reply to: Posts doesn't shows upOkay, Okay.. after a long long long(not really super long, just a day) of inspecting 2015, 14 and 13 contents.php to my index.php where contents should display. I found it! ahahaha ?? thank you Alan for replying and giving me idea though it’s not the solution, you give me some of your time which is good when you need it.
Anyways,
<?php require('wp-blog-header.php');?> <!--- Site Content <h1>Main Area</h1> --> <?php if ( is_page('About') || is_page('Contact')){ ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php the_content(); ?> <hr /><br> <?php endwhile; else: ?> <?php _e('Sorry, no posts matched your criteria.'); ?><?php endif; ?> <?php } ?> <?php if( is_home()){ ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <span class="titulo"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></span><br /> Posted on <?php the_time('F jS, Y') ?> <?php the_content('<br>Read More...'); ?> <hr /><br> <?php endwhile; else: ?> <?php _e('Sorry, no posts matched your criteria.'); ?> <?php endif; ?> <?php } ?>
^ this is the code I used before 4.2.3 and now I added another code for the “content” post itself.
<?php if( is_single()){ ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <span class="titulo"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></span><br /> Posted on <?php the_time('F jS, Y') ?> <?php the_content(); ?> <hr /><br> <?php endwhile; else: ?> <?php _e('Sorry, no posts matched your criteria.'); ?> <?php endif; ?> <?php } ?>
and it works! I’m so happy, and I know there are much more routine that can make it shrink, cause other lines of it are just repeating.. but for now, I’ll just celebrate ??
Just posting this if “ever” someone like me who uses only index.php comes here.
[SOLVED]
Forum: Fixing WordPress
In reply to: Posts doesn't shows upBump.
<?php require('wp-blog-header.php');?> <!--- Site Content <h1>Main Area</h1> --> <?php if ( is_page('About') || is_page('Contact')){ ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php the_content(); ?> <hr /><br> <?php endwhile; else: ?> <?php _e('Sorry, no posts matched your criteria.'); ?><?php endif; ?> <?php } ?> <?php if( is_home()){ ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <span class="titulo"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></span><br /> Posted on <?php the_time('F jS, Y') ?> <?php the_content('<br>Read More...'); ?> <hr /><br> <?php endwhile; else: ?> <?php _e('Sorry, no posts matched your criteria.'); ?> <?php endif; ?> <?php } ?>
This is the actual php I have on my index.php. I really do have a hard time here cause I started at a super basic files(footer.php, index.php, header.php, sidebar.php”although i hide it for the meantime”, functions.php and style.css). This index.php is working as I have stated on the comments above until 4.2.3 came into my life :))
I also tried matching these codes with the one on 2015, 2014 and 2013’s contents.php cause they are working fine when I switch.
So can someone point me to the right direction?
EDIT: That’s not the WHOLE, but the actual php to get contents.
=====================================
=====================================EDIT (2):
Before 4.2.3, that code displays all posts with excerpts on the “blog/work” page and when you click them, the full content of that certain post is viewed.
Now, that code displays all posts with excerpts on the “blog/work” page and when you click them, it shows nothing on the “content area” where it should’ve been.
I view the source code of that to see what codes it produce, and it’s blank on the content area. I don’t want to throw this up, I want to know what’s happening and if there are any remedy or cure ??
Forum: Fixing WordPress
In reply to: injecting javascript into each pageI didn’t think I’ve done anything. But in case you do have solved the problem. Good job! ??
Forum: Fixing WordPress
In reply to: injecting javascript into each pageCan you post the javascript code for the video player here?
It will become a post(or should I say, text) rather than a player if you put the code for a post in “visual” when creating a post. You should click first the “text”:
https://s15.postimg.org/50wx5z2iz/image.png
And about a different javascript code that you want for each page, I really can’t help you with that, let’s just wait for someone who has more experience on that.
Forum: Fixing WordPress
In reply to: Adding vertical line for beginnerjust put it on wherever you want on the CSS. just don’t put them inside of another “{ }”
Forum: Fixing WordPress
In reply to: injecting javascript into each pageDo I read this correctly, like:
You have a Javascript code that changes for each page you have in WP?(changes what? the images per page? the text?)
You need something that you can paste(i thought you have a code?) or you have a code that you want to paste on your WP that can run your videos on each page?
-Okay, you want a code(Javascript) that you can put on your WP. Code/s that will run your videos on each page. And each page has a different videos?
Forum: Fixing WordPress
In reply to: Posts doesn't shows upBump for the new update.
I tried reverting it back to Twentyfourteen theme, and it also doesn’t fix my issue, then I reverted it back to Twentyfifteen, And it’s now showing the post on their own pages. Then I changed back again to my custom theme, and it’s now not there… again.
can someone look at the codes ?? i really can’t do so much…
Problem: when you click the links(title or read more) of the post, you will be sent to their own respective post page, but no post is showing except twentyfifteen now. how?
where can I find the codes for them.
Forum: Fixing WordPress
In reply to: Posts doesn't shows upyes, i read something about having a numeral value first before /%postname%/ like /%postId%/ or year and month before postname, but still for no avail.. yes .htaccess is always on the root, and I never done / change anything from it since the post links are working until yesterday.
I think I will try other solution and see what will happen. Thank you.
EDIT:
I think I forgot to say, that I also add a new test post and that is not even showing.